Royal Blue

#8F52FA

Purple

Color Codes

All color formats for development

HEX
#8F52FA
RGB
rgb(143, 82, 250)
HSL
hsl(262, 94%, 65%)
OKLCH
oklch(0.599 0.236 294.9)
CMYK
cmyk(43%, 67%, 0%, 2%)

Accessibility

WCAG contrast compliance

On White Background

4.42:1

AA AAA

On Black Background

4.76:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F5F0
100
#E9DC
200
#D6BF
300
#B68D
400
#8F52
500
#6F20
600
#5407
700
#4305
800
#3004
900
#1F02
950
#1302

Shades

Darker variations

1#7B32F9
2#6612F8
3#5707E1
4#4B06C1
5#3E05A1
6#320481
7#250360
8#190240
9#0C0120

Tints

Lighter variations

1#9B63FA
2#A674FB
3#B186FB
4#BC97FC
5#C7A8FC
6#D2BAFD
7#DECBFD
8#E9DCFE
9#F4EEFE

Tones

Muted variations

1#925AF1
2#9463E9
3#966BE0
4#9873D8
5#9B7CD0
6#9D84C7
7#9F8DBF
8#A195B7
9#A49DAE

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F5F0
#F5F0FF
BackgroundsSubtle highlightsCard backgrounds
100
E9DC
#E9DCFE
Light backgroundsTable row hoverSkeleton loading
200
D6BF
#D6BFFD
Secondary backgroundsInput backgroundsDividers
300
B68D
#B68DFB
BordersInactive statesPlaceholder text
400
8F52
#8F52FA
Disabled statesSecondary iconsMuted text
500
6F20
#6F20F8
Primary brand colorCTAsActive elementsLinks
600
5407
#5407DA
Hover statesFocus ringsPrimary buttons hover
700
4305
#4305AD
Active/pressed statesDark mode accentsSecondary text
800
3004
#30047C
Text on light backgroundsHeadingsStrong borders
900
1F02
#1F024F
Primary textHigh emphasis contentDark headings
950
1302
#130231
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F5F0FF;
  --royal-blue-100: #E9DCFE;
  --royal-blue-200: #D6BFFD;
  --royal-blue-300: #B68DFB;
  --royal-blue-400: #8F52FA;
  --royal-blue-500: #6F20F8;
  --royal-blue-600: #5407DA;
  --royal-blue-700: #4305AD;
  --royal-blue-800: #30047C;
  --royal-blue-900: #1F024F;
  --royal-blue-950: #130231;
}
Generate More ShadesCreate PaletteConvert Color