Royal Blue

#8C32E7

Purple

Color Codes

All color formats for development

HEX
#8C32E7
RGB
rgb(140, 50, 231)
HSL
hsl(270, 79%, 55%)
OKLCH
oklch(0.546 0.249 300.6)
CMYK
cmyk(39%, 78%, 0%, 9%)

Accessibility

WCAG contrast compliance

On White Background

5.64:1

AA AAA

On Black Background

3.73:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F7F1
100
#EDDF
200
#DEC4
300
#C496
400
#A65F
500
#8C32
600
#7018
700
#5913
800
#400D
900
#2909
950
#1A05

Shades

Darker variations

1#7E1BE2
2#7018C9
3#6215B0
4#541297
5#460F7E
6#380C64
7#2A094B
8#1C0632
9#0E0319

Tints

Lighter variations

1#9846E9
2#A35BEC
3#AF6FEE
4#BA84F1
5#C698F3
6#D1ADF5
7#DDC1F8
8#E8D6FA
9#F4EAFD

Tones

Muted variations

1#8C3BDE
2#8C44D5
3#8C4DCC
4#8C56C3
5#8C5FBA
6#8C68B1
7#8C71A7
8#8C7A9E
9#8C8395

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F7F1
#F7F1FD
BackgroundsSubtle highlightsCard backgrounds
100
EDDF
#EDDFFB
Light backgroundsTable row hoverSkeleton loading
200
DEC4
#DEC4F8
Secondary backgroundsInput backgroundsDividers
300
C496
#C496F3
BordersInactive statesPlaceholder text
400
A65F
#A65FEC
Disabled statesSecondary iconsMuted text
500
8C32
#8C32E7
Primary brand colorCTAsActive elementsLinks
600
7018
#7018C9
Hover statesFocus ringsPrimary buttons hover
700
5913
#5913A0
Active/pressed statesDark mode accentsSecondary text
800
400D
#400D72
Text on light backgroundsHeadingsStrong borders
900
2909
#290949
Primary textHigh emphasis contentDark headings
950
1A05
#1A052E
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F7F1FD;
  --royal-blue-100: #EDDFFB;
  --royal-blue-200: #DEC4F8;
  --royal-blue-300: #C496F3;
  --royal-blue-400: #A65FEC;
  --royal-blue-500: #8C32E7;
  --royal-blue-600: #7018C9;
  --royal-blue-700: #5913A0;
  --royal-blue-800: #400D72;
  --royal-blue-900: #290949;
  --royal-blue-950: #1A052E;
}
Generate More ShadesCreate PaletteConvert Color