Royal Blue

#8C4EFD

Purple

Color Codes

All color formats for development

HEX
#8C4EFD
RGB
rgb(140, 78, 253)
HSL
hsl(261, 98%, 65%)
OKLCH
oklch(0.593 0.244 293.9)
CMYK
cmyk(45%, 69%, 0%, 1%)

Accessibility

WCAG contrast compliance

On White Background

4.54:1

AA AAA

On Black Background

4.62:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F5F0
100
#E8DC
200
#D4BD
300
#B38B
400
#8C4E
500
#6B1C
600
#4F02
700
#3F02
800
#2D01
900
#1D01
950
#1201

Shades

Darker variations

1#762DFD
2#610DFD
3#5202E6
4#4602C5
5#3B02A4
6#2F0183
7#230162
8#170142
9#0C0021

Tints

Lighter variations

1#9760FD
2#A372FE
3#AE83FE
4#BA95FE
5#C5A7FE
6#D1B8FE
7#DCCAFE
8#E8DCFF
9#F3EDFF

Tones

Muted variations

1#8E57F4
2#9160EC
3#9369E3
4#9671DA
5#997AD1
6#9B83C9
7#9E8CC0
8#A194B7
9#A39DAE

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F5F0
#F5F0FF
BackgroundsSubtle highlightsCard backgrounds
100
E8DC
#E8DCFF
Light backgroundsTable row hoverSkeleton loading
200
D4BD
#D4BDFE
Secondary backgroundsInput backgroundsDividers
300
B38B
#B38BFE
BordersInactive statesPlaceholder text
400
8C4E
#8C4EFD
Disabled statesSecondary iconsMuted text
500
6B1C
#6B1CFD
Primary brand colorCTAsActive elementsLinks
600
4F02
#4F02DE
Hover statesFocus ringsPrimary buttons hover
700
3F02
#3F02B1
Active/pressed statesDark mode accentsSecondary text
800
2D01
#2D017E
Text on light backgroundsHeadingsStrong borders
900
1D01
#1D0151
Primary textHigh emphasis contentDark headings
950
1201
#120132
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F5F0FF;
  --royal-blue-100: #E8DCFF;
  --royal-blue-200: #D4BDFE;
  --royal-blue-300: #B38BFE;
  --royal-blue-400: #8C4EFD;
  --royal-blue-500: #6B1CFD;
  --royal-blue-600: #4F02DE;
  --royal-blue-700: #3F02B1;
  --royal-blue-800: #2D017E;
  --royal-blue-900: #1D0151;
  --royal-blue-950: #120132;
}
Generate More ShadesCreate PaletteConvert Color