Royal Blue

#862BEE

Purple

Color Codes

All color formats for development

HEX
#862BEE
RGB
rgb(134, 43, 238)
HSL
hsl(268, 85%, 55%)
OKLCH
oklch(0.539 0.261 297.6)
CMYK
cmyk(44%, 82%, 0%, 7%)

Accessibility

WCAG contrast compliance

On White Background

5.84: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
#ECDE
200
#DCC2
300
#C192
400
#A15A
500
#862B
600
#6A11
700
#540D
800
#3C0A
900
#2606
950
#1804

Shades

Darker variations

1#7713EA
2#6A11D0
3#5D0FB6
4#4F0D9C
5#420B82
6#350868
7#28064E
8#1A0434
9#0D021A

Tints

Lighter variations

1#9240F0
2#9E55F1
3#AA6AF3
4#B680F5
5#C295F6
6#CEAAF8
7#DBBFFA
8#E7D5FC
9#F3EAFD

Tones

Muted variations

1#8634E4
2#873EDA
3#8848D1
4#8852C7
5#895BBD
6#8A65B3
7#8A6FAA
8#8B79A0
9#8C8296

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F7F1
#F7F1FE
BackgroundsSubtle highlightsCard backgrounds
100
ECDE
#ECDEFC
Light backgroundsTable row hoverSkeleton loading
200
DCC2
#DCC2FA
Secondary backgroundsInput backgroundsDividers
300
C192
#C192F6
BordersInactive statesPlaceholder text
400
A15A
#A15AF2
Disabled statesSecondary iconsMuted text
500
862B
#862BEE
Primary brand colorCTAsActive elementsLinks
600
6A11
#6A11D0
Hover statesFocus ringsPrimary buttons hover
700
540D
#540DA5
Active/pressed statesDark mode accentsSecondary text
800
3C0A
#3C0A76
Text on light backgroundsHeadingsStrong borders
900
2606
#26064B
Primary textHigh emphasis contentDark headings
950
1804
#18042F
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F7F1FE;
  --royal-blue-100: #ECDEFC;
  --royal-blue-200: #DCC2FA;
  --royal-blue-300: #C192F6;
  --royal-blue-400: #A15AF2;
  --royal-blue-500: #862BEE;
  --royal-blue-600: #6A11D0;
  --royal-blue-700: #540DA5;
  --royal-blue-800: #3C0A76;
  --royal-blue-900: #26064B;
  --royal-blue-950: #18042F;
}
Generate More ShadesCreate PaletteConvert Color