Royal Blue

#8E57F4

Purple

Color Codes

All color formats for development

HEX
#8E57F4
RGB
rgb(142, 87, 244)
HSL
hsl(261, 88%, 65%)
OKLCH
oklch(0.6 0.223 294.9)
CMYK
cmyk(42%, 64%, 0%, 4%)

Accessibility

WCAG contrast compliance

On White Background

4.36:1

AA AAA

On Black Background

4.82:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F5F1
100
#E8DD
200
#D5C1
300
#B591
400
#8E57
500
#6E27
600
#530D
700
#420B
800
#2F08
900
#1E05
950
#1303

Shades

Darker variations

1#7938F2
2#6419F0
3#550EDA
4#490CBB
5#3D0A9C
6#31087D
7#25065D
8#18043E
9#0C021F

Tints

Lighter variations

1#9968F5
2#A579F6
3#B08AF8
4#BB9AF9
5#C7ABFA
6#D2BCFB
7#DDCDFC
8#E8DDFD
9#F4EEFE

Tones

Muted variations

1#915FEC
2#9367E5
3#956FDD
4#9877D5
5#9A7ECD
6#9C86C5
7#9F8EBD
8#A196B5
9#A39EAE

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F5F1
#F5F1FE
BackgroundsSubtle highlightsCard backgrounds
100
E8DD
#E8DDFD
Light backgroundsTable row hoverSkeleton loading
200
D5C1
#D5C1FB
Secondary backgroundsInput backgroundsDividers
300
B591
#B591F8
BordersInactive statesPlaceholder text
400
8E57
#8E57F4
Disabled statesSecondary iconsMuted text
500
6E27
#6E27F1
Primary brand colorCTAsActive elementsLinks
600
530D
#530DD3
Hover statesFocus ringsPrimary buttons hover
700
420B
#420BA8
Active/pressed statesDark mode accentsSecondary text
800
2F08
#2F0878
Text on light backgroundsHeadingsStrong borders
900
1E05
#1E054D
Primary textHigh emphasis contentDark headings
950
1303
#130330
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F5F1FE;
  --royal-blue-100: #E8DDFD;
  --royal-blue-200: #D5C1FB;
  --royal-blue-300: #B591F8;
  --royal-blue-400: #8E57F4;
  --royal-blue-500: #6E27F1;
  --royal-blue-600: #530DD3;
  --royal-blue-700: #420BA8;
  --royal-blue-800: #2F0878;
  --royal-blue-900: #1E054D;
  --royal-blue-950: #130330;
}
Generate More ShadesCreate PaletteConvert Color