Royal Blue

#8752FA

Purple

Color Codes

All color formats for development

HEX
#8752FA
RGB
rgb(135, 82, 250)
HSL
hsl(259, 94%, 65%)
OKLCH
oklch(0.591 0.236 292.1)
CMYK
cmyk(46%, 67%, 0%, 2%)

Accessibility

WCAG contrast compliance

On White Background

4.55: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
#E7DC
200
#D2BF
300
#B08D
400
#8752
500
#6520
600
#4A07
700
#3A05
800
#2A04
900
#1B02
950
#1102

Shades

Darker variations

1#7132F9
2#5A12F8
3#4C07E1
4#4106C1
5#3605A1
6#2B0481
7#210360
8#160240
9#0B0120

Tints

Lighter variations

1#9363FA
2#9F74FB
3#AB86FB
4#B797FC
5#C3A8FC
6#CFBAFD
7#DBCBFD
8#E7DCFE
9#F3EEFE

Tones

Muted variations

1#8A5AF1
2#8D63E9
3#906BE0
4#9373D8
5#967CD0
6#9984C7
7#9D8DBF
8#A095B7
9#A39DAE

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F5F0
#F5F0FF
BackgroundsSubtle highlightsCard backgrounds
100
E7DC
#E7DCFE
Light backgroundsTable row hoverSkeleton loading
200
D2BF
#D2BFFD
Secondary backgroundsInput backgroundsDividers
300
B08D
#B08DFB
BordersInactive statesPlaceholder text
400
8752
#8752FA
Disabled statesSecondary iconsMuted text
500
6520
#6520F8
Primary brand colorCTAsActive elementsLinks
600
4A07
#4A07DA
Hover statesFocus ringsPrimary buttons hover
700
3A05
#3A05AD
Active/pressed statesDark mode accentsSecondary text
800
2A04
#2A047C
Text on light backgroundsHeadingsStrong borders
900
1B02
#1B024F
Primary textHigh emphasis contentDark headings
950
1102
#110231
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F5F0FF;
  --royal-blue-100: #E7DCFE;
  --royal-blue-200: #D2BFFD;
  --royal-blue-300: #B08DFB;
  --royal-blue-400: #8752FA;
  --royal-blue-500: #6520F8;
  --royal-blue-600: #4A07DA;
  --royal-blue-700: #3A05AD;
  --royal-blue-800: #2A047C;
  --royal-blue-900: #1B024F;
  --royal-blue-950: #110231;
}
Generate More ShadesCreate PaletteConvert Color