Royal Blue

#8D52FA

Purple

Color Codes

All color formats for development

HEX
#8D52FA
RGB
rgb(141, 82, 250)
HSL
hsl(261, 94%, 65%)
OKLCH
oklch(0.597 0.236 294.2)
CMYK
cmyk(44%, 67%, 0%, 2%)

Accessibility

WCAG contrast compliance

On White Background

4.45:1

AA AAA

On Black Background

4.72:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F5F0
100
#E8DC
200
#D5BF
300
#B48D
400
#8D52
500
#6C20
600
#5107
700
#4005
800
#2E04
900
#1D02
950
#1202

Shades

Darker variations

1#7732F9
2#6212F8
3#5307E1
4#4706C1
5#3C05A1
6#300481
7#240360
8#180240
9#0C0120

Tints

Lighter variations

1#9863FA
2#A374FB
3#AF86FB
4#BA97FC
5#C6A8FC
6#D1BAFD
7#DDCBFD
8#E8DCFE
9#F4EEFE

Tones

Muted variations

1#8F5AF1
2#9263E9
3#946BE0
4#9773D8
5#997CD0
6#9C84C7
7#9E8DBF
8#A195B7
9#A39DAE

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F5F0
#F5F0FF
BackgroundsSubtle highlightsCard backgrounds
100
E8DC
#E8DCFE
Light backgroundsTable row hoverSkeleton loading
200
D5BF
#D5BFFD
Secondary backgroundsInput backgroundsDividers
300
B48D
#B48DFB
BordersInactive statesPlaceholder text
400
8D52
#8D52FA
Disabled statesSecondary iconsMuted text
500
6C20
#6C20F8
Primary brand colorCTAsActive elementsLinks
600
5107
#5107DA
Hover statesFocus ringsPrimary buttons hover
700
4005
#4005AD
Active/pressed statesDark mode accentsSecondary text
800
2E04
#2E047C
Text on light backgroundsHeadingsStrong borders
900
1D02
#1D024F
Primary textHigh emphasis contentDark headings
950
1202
#120231
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F5F0FF;
  --royal-blue-100: #E8DCFE;
  --royal-blue-200: #D5BFFD;
  --royal-blue-300: #B48DFB;
  --royal-blue-400: #8D52FA;
  --royal-blue-500: #6C20F8;
  --royal-blue-600: #5107DA;
  --royal-blue-700: #4005AD;
  --royal-blue-800: #2E047C;
  --royal-blue-900: #1D024F;
  --royal-blue-950: #120231;
}
Generate More ShadesCreate PaletteConvert Color