Royal Blue

#8C1EFA

Purple

Color Codes

All color formats for development

HEX
#8C1EFA
RGB
rgb(140, 30, 250)
HSL
hsl(270, 96%, 55%)
OKLCH
oklch(0.549 0.28 298)
CMYK
cmyk(44%, 88%, 0%, 2%)

Accessibility

WCAG contrast compliance

On White Background

5.70:1

AA AAA

On Black Background

3.68:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F7F0
100
#EDDC
200
#DEBE
300
#C48C
400
#A650
500
#8C1E
600
#7004
700
#5904
800
#4003
900
#2902
950
#1A01

Shades

Darker variations

1#7E05F7
2#7004DC
3#6204C0
4#5403A5
5#460389
6#38026E
7#2A0252
8#1C0137
9#0E011B

Tints

Lighter variations

1#9835FB
2#A34BFB
3#AF62FC
4#BA78FC
5#C68FFD
6#D1A5FD
7#DDBCFE
8#E8D2FE
9#F4E9FF

Tones

Muted variations

1#8C29EF
2#8C34E4
3#8C3FD9
4#8C4ACE
5#8C55C3
6#8C60B8
7#8C6BAD
8#8C76A2
9#8C8197

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F7F0
#F7F0FF
BackgroundsSubtle highlightsCard backgrounds
100
EDDC
#EDDCFE
Light backgroundsTable row hoverSkeleton loading
200
DEBE
#DEBEFE
Secondary backgroundsInput backgroundsDividers
300
C48C
#C48CFD
BordersInactive statesPlaceholder text
400
A650
#A650FB
Disabled statesSecondary iconsMuted text
500
8C1E
#8C1EFA
Primary brand colorCTAsActive elementsLinks
600
7004
#7004DC
Hover statesFocus ringsPrimary buttons hover
700
5904
#5904AF
Active/pressed statesDark mode accentsSecondary text
800
4003
#40037D
Text on light backgroundsHeadingsStrong borders
900
2902
#290250
Primary textHigh emphasis contentDark headings
950
1A01
#1A0132
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F7F0FF;
  --royal-blue-100: #EDDCFE;
  --royal-blue-200: #DEBEFE;
  --royal-blue-300: #C48CFD;
  --royal-blue-400: #A650FB;
  --royal-blue-500: #8C1EFA;
  --royal-blue-600: #7004DC;
  --royal-blue-700: #5904AF;
  --royal-blue-800: #40037D;
  --royal-blue-900: #290250;
  --royal-blue-950: #1A0132;
}
Generate More ShadesCreate PaletteConvert Color