Royal Blue

#8C5FEC

Purple

Color Codes

All color formats for development

HEX
#8C5FEC
RGB
rgb(140, 95, 236)
HSL
hsl(259, 79%, 65%)
OKLCH
oklch(0.604 0.203 294.2)
CMYK
cmyk(41%, 60%, 0%, 7%)

Accessibility

WCAG contrast compliance

On White Background

4.23:1

AA AAA

On Black Background

4.96:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F5F1
100
#E8DF
200
#D4C4
300
#B396
400
#8C5F
500
#6B32
600
#5018
700
#3F13
800
#2D0D
900
#1D09
950
#1205

Shades

Darker variations

1#7742E9
2#6124E5
3#5218D0
4#4715B2
5#3B1194
6#2F0E77
7#230A59
8#18073B
9#0C031E

Tints

Lighter variations

1#976FEE
2#A37FF0
3#AE8FF2
4#BA9FF4
5#C5AFF6
6#D1BFF8
7#DCCFF9
8#E8DFFB
9#F3EFFD

Tones

Muted variations

1#8E66E5
2#916DDE
3#9474D7
4#967BD0
5#9982C9
6#9B8AC2
7#9E91BB
8#A198B4
9#A39FAD

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F5F1
#F5F1FD
BackgroundsSubtle highlightsCard backgrounds
100
E8DF
#E8DFFB
Light backgroundsTable row hoverSkeleton loading
200
D4C4
#D4C4F8
Secondary backgroundsInput backgroundsDividers
300
B396
#B396F3
BordersInactive statesPlaceholder text
400
8C5F
#8C5FEC
Disabled statesSecondary iconsMuted text
500
6B32
#6B32E7
Primary brand colorCTAsActive elementsLinks
600
5018
#5018C9
Hover statesFocus ringsPrimary buttons hover
700
3F13
#3F13A0
Active/pressed statesDark mode accentsSecondary text
800
2D0D
#2D0D72
Text on light backgroundsHeadingsStrong borders
900
1D09
#1D0949
Primary textHigh emphasis contentDark headings
950
1205
#12052E
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F5F1FD;
  --royal-blue-100: #E8DFFB;
  --royal-blue-200: #D4C4F8;
  --royal-blue-300: #B396F3;
  --royal-blue-400: #8C5FEC;
  --royal-blue-500: #6B32E7;
  --royal-blue-600: #5018C9;
  --royal-blue-700: #3F13A0;
  --royal-blue-800: #2D0D72;
  --royal-blue-900: #1D0949;
  --royal-blue-950: #12052E;
}
Generate More ShadesCreate PaletteConvert Color