Royal Blue

#8E56F5

Purple

Color Codes

All color formats for development

HEX
#8E56F5
RGB
rgb(142, 86, 245)
HSL
hsl(261, 89%, 65%)
OKLCH
oklch(0.599 0.225 294.9)
CMYK
cmyk(42%, 65%, 0%, 4%)

Accessibility

WCAG contrast compliance

On White Background

4.38:1

AA AAA

On Black Background

4.80:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F5F1
100
#E8DD
200
#D5C0
300
#B590
400
#8E56
500
#6E26
600
#520C
700
#410A
800
#2F07
900
#1E04
950
#1303

Shades

Darker variations

1#7937F3
2#6418F2
3#550DDB
4#490BBC
5#3D099D
6#31077D
7#24055E
8#18043F
9#0C021F

Tints

Lighter variations

1#9967F6
2#A578F7
3#B089F8
4#BB9AF9
5#C6ABFA
6#D2BCFB
7#DDCCFC
8#E8DDFD
9#F4EEFE

Tones

Muted variations

1#905EED
2#9366E5
3#956EDD
4#9776D5
5#9A7ECD
6#9C86C6
7#9F8EBE
8#A196B6
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
D5C0
#D5C0FB
Secondary backgroundsInput backgroundsDividers
300
B590
#B590F9
BordersInactive statesPlaceholder text
400
8E56
#8E56F5
Disabled statesSecondary iconsMuted text
500
6E26
#6E26F2
Primary brand colorCTAsActive elementsLinks
600
520C
#520CD4
Hover statesFocus ringsPrimary buttons hover
700
410A
#410AA9
Active/pressed statesDark mode accentsSecondary text
800
2F07
#2F0778
Text on light backgroundsHeadingsStrong borders
900
1E04
#1E044D
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: #D5C0FB;
  --royal-blue-300: #B590F9;
  --royal-blue-400: #8E56F5;
  --royal-blue-500: #6E26F2;
  --royal-blue-600: #520CD4;
  --royal-blue-700: #410AA9;
  --royal-blue-800: #2F0778;
  --royal-blue-900: #1E044D;
  --royal-blue-950: #130330;
}
Generate More ShadesCreate PaletteConvert Color