Royal Blue

#851EFA

Purple

Color Codes

All color formats for development

HEX
#851EFA
RGB
rgb(133, 30, 250)
HSL
hsl(268, 96%, 55%)
OKLCH
oklch(0.541 0.28 295.7)
CMYK
cmyk(47%, 88%, 0%, 2%)

Accessibility

WCAG contrast compliance

On White Background

5.89:1

AA AAA

On Black Background

3.56:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F7F0
100
#ECDC
200
#DCBE
300
#C18C
400
#A050
500
#851E
600
#6904
700
#5404
800
#3C03
900
#2602
950
#1801

Shades

Darker variations

1#7605F7
2#6904DC
3#5C04C0
4#4F03A5
5#420389
6#35026E
7#270252
8#1A0137
9#0D011B

Tints

Lighter variations

1#9135FB
2#9D4BFB
3#AA62FC
4#B678FC
5#C28FFD
6#CEA5FD
7#DABCFE
8#E7D2FE
9#F3E9FF

Tones

Muted variations

1#8629EF
2#8634E4
3#873FD9
4#884ACE
5#8955C3
6#8960B8
7#8A6BAD
8#8B76A2
9#8C8197

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F7F0
#F7F0FF
BackgroundsSubtle highlightsCard backgrounds
100
ECDC
#ECDCFE
Light backgroundsTable row hoverSkeleton loading
200
DCBE
#DCBEFE
Secondary backgroundsInput backgroundsDividers
300
C18C
#C18CFD
BordersInactive statesPlaceholder text
400
A050
#A050FB
Disabled statesSecondary iconsMuted text
500
851E
#851EFA
Primary brand colorCTAsActive elementsLinks
600
6904
#6904DC
Hover statesFocus ringsPrimary buttons hover
700
5404
#5404AF
Active/pressed statesDark mode accentsSecondary text
800
3C03
#3C037D
Text on light backgroundsHeadingsStrong borders
900
2602
#260250
Primary textHigh emphasis contentDark headings
950
1801
#180132
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F7F0FF;
  --royal-blue-100: #ECDCFE;
  --royal-blue-200: #DCBEFE;
  --royal-blue-300: #C18CFD;
  --royal-blue-400: #A050FB;
  --royal-blue-500: #851EFA;
  --royal-blue-600: #6904DC;
  --royal-blue-700: #5404AF;
  --royal-blue-800: #3C037D;
  --royal-blue-900: #260250;
  --royal-blue-950: #180132;
}
Generate More ShadesCreate PaletteConvert Color