Royal Blue

#862EEA

Purple

Color Codes

All color formats for development

HEX
#862EEA
RGB
rgb(134, 46, 234)
HSL
hsl(268, 82%, 55%)
OKLCH
oklch(0.538 0.255 298.1)
CMYK
cmyk(43%, 80%, 0%, 8%)

Accessibility

WCAG contrast compliance

On White Background

5.85:1

AA AAA

On Black Background

3.59:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F7F1
100
#ECDF
200
#DCC3
300
#C194
400
#A15D
500
#862E
600
#6A14
700
#5410
800
#3C0B
900
#2707
950
#1805

Shades

Darker variations

1#7717E6
2#6A14CC
3#5D12B3
4#500F99
5#420D80
6#350A66
7#28084D
8#1B0533
9#0D031A

Tints

Lighter variations

1#9243EC
2#9E58EE
3#AA6DF1
4#B682F3
5#C297F5
6#CFABF7
7#DBC0F9
8#E7D5FB
9#F3EAFD

Tones

Muted variations

1#8738E1
2#8741D8
3#884ACE
4#8854C5
5#895DBB
6#8A67B2
7#8A70A8
8#8B799F
9#8C8396

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F7F1
#F7F1FE
BackgroundsSubtle highlightsCard backgrounds
100
ECDF
#ECDFFC
Light backgroundsTable row hoverSkeleton loading
200
DCC3
#DCC3F9
Secondary backgroundsInput backgroundsDividers
300
C194
#C194F4
BordersInactive statesPlaceholder text
400
A15D
#A15DEF
Disabled statesSecondary iconsMuted text
500
862E
#862EEA
Primary brand colorCTAsActive elementsLinks
600
6A14
#6A14CC
Hover statesFocus ringsPrimary buttons hover
700
5410
#5410A2
Active/pressed statesDark mode accentsSecondary text
800
3C0B
#3C0B74
Text on light backgroundsHeadingsStrong borders
900
2707
#27074A
Primary textHigh emphasis contentDark headings
950
1805
#18052E
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F7F1FE;
  --royal-blue-100: #ECDFFC;
  --royal-blue-200: #DCC3F9;
  --royal-blue-300: #C194F4;
  --royal-blue-400: #A15DEF;
  --royal-blue-500: #862EEA;
  --royal-blue-600: #6A14CC;
  --royal-blue-700: #5410A2;
  --royal-blue-800: #3C0B74;
  --royal-blue-900: #27074A;
  --royal-blue-950: #18052E;
}
Generate More ShadesCreate PaletteConvert Color