Royal Blue

#7E20F8

Purple

Color Codes

All color formats for development

HEX
#7E20F8
RGB
rgb(126, 32, 248)
HSL
hsl(266, 94%, 55%)
OKLCH
oklch(0.533 0.277 293.6)
CMYK
cmyk(49%, 87%, 0%, 3%)

Accessibility

WCAG contrast compliance

On White Background

6.09:1

AA AAA

On Black Background

3.45:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F6F0
100
#EBDC
200
#DABF
300
#BD8D
400
#9B52
500
#7E20
600
#6207
700
#4E05
800
#3804
900
#2402
950
#1602

Shades

Darker variations

1#6E08F5
2#6207DA
3#5606BE
4#4A05A3
5#3D0488
6#31036D
7#250352
8#190236
9#0C011B

Tints

Lighter variations

1#8B37F9
2#984DF9
3#A563FA
4#B279FB
5#BE90FC
6#CBA6FC
7#D8BCFD
8#E5D2FE
9#F2E9FE

Tones

Muted variations

1#7F2BED
2#8136E3
3#8241D8
4#844CCD
5#8556C2
6#8661B7
7#886CAD
8#8977A2
9#8B8197

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F6F0
#F6F0FF
BackgroundsSubtle highlightsCard backgrounds
100
EBDC
#EBDCFE
Light backgroundsTable row hoverSkeleton loading
200
DABF
#DABFFD
Secondary backgroundsInput backgroundsDividers
300
BD8D
#BD8DFB
BordersInactive statesPlaceholder text
400
9B52
#9B52FA
Disabled statesSecondary iconsMuted text
500
7E20
#7E20F8
Primary brand colorCTAsActive elementsLinks
600
6207
#6207DA
Hover statesFocus ringsPrimary buttons hover
700
4E05
#4E05AD
Active/pressed statesDark mode accentsSecondary text
800
3804
#38047C
Text on light backgroundsHeadingsStrong borders
900
2402
#24024F
Primary textHigh emphasis contentDark headings
950
1602
#160231
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F6F0FF;
  --royal-blue-100: #EBDCFE;
  --royal-blue-200: #DABFFD;
  --royal-blue-300: #BD8DFB;
  --royal-blue-400: #9B52FA;
  --royal-blue-500: #7E20F8;
  --royal-blue-600: #6207DA;
  --royal-blue-700: #4E05AD;
  --royal-blue-800: #38047C;
  --royal-blue-900: #24024F;
  --royal-blue-950: #160231;
}
Generate More ShadesCreate PaletteConvert Color