Royal Blue

#7D4EFD

Purple

Color Codes

All color formats for development

HEX
#7D4EFD
RGB
rgb(125, 78, 253)
HSL
hsl(256, 98%, 65%)
OKLCH
oklch(0.579 0.243 288.7)
CMYK
cmyk(51%, 69%, 0%, 1%)

Accessibility

WCAG contrast compliance

On White Background

4.79:1

AA AAA

On Black Background

4.38:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F4F0
100
#E5DC
200
#CFBD
300
#AA8B
400
#7D4E
500
#581C
600
#3D02
700
#3002
800
#2301
900
#1601
950
#0E01

Shades

Darker variations

1#652DFD
2#4D0DFD
3#3F02E6
4#3602C5
5#2D02A4
6#240183
7#1B0162
8#120142
9#090021

Tints

Lighter variations

1#8A60FD
2#9772FE
3#A483FE
4#B195FE
5#BEA7FE
6#CBB8FE
7#D8CAFE
8#E5DCFF
9#F2EDFF

Tones

Muted variations

1#8157F4
2#8560EC
3#8969E3
4#8D71DA
5#917AD1
6#9583C9
7#9A8CC0
8#9E94B7
9#A29DAE

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F4F0
#F4F0FF
BackgroundsSubtle highlightsCard backgrounds
100
E5DC
#E5DCFF
Light backgroundsTable row hoverSkeleton loading
200
CFBD
#CFBDFE
Secondary backgroundsInput backgroundsDividers
300
AA8B
#AA8BFE
BordersInactive statesPlaceholder text
400
7D4E
#7D4EFD
Disabled statesSecondary iconsMuted text
500
581C
#581CFD
Primary brand colorCTAsActive elementsLinks
600
3D02
#3D02DE
Hover statesFocus ringsPrimary buttons hover
700
3002
#3002B1
Active/pressed statesDark mode accentsSecondary text
800
2301
#23017E
Text on light backgroundsHeadingsStrong borders
900
1601
#160151
Primary textHigh emphasis contentDark headings
950
0E01
#0E0132
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F4F0FF;
  --royal-blue-100: #E5DCFF;
  --royal-blue-200: #CFBDFE;
  --royal-blue-300: #AA8BFE;
  --royal-blue-400: #7D4EFD;
  --royal-blue-500: #581CFD;
  --royal-blue-600: #3D02DE;
  --royal-blue-700: #3002B1;
  --royal-blue-800: #23017E;
  --royal-blue-900: #160151;
  --royal-blue-950: #0E0132;
}
Generate More ShadesCreate PaletteConvert Color