Royal Blue

#8A5FEC

Purple

Color Codes

All color formats for development

HEX
#8A5FEC
RGB
rgb(138, 95, 236)
HSL
hsl(258, 79%, 65%)
OKLCH
oklch(0.602 0.203 293.4)
CMYK
cmyk(42%, 60%, 0%, 7%)

Accessibility

WCAG contrast compliance

On White Background

4.26:1

AA AAA

On Black Background

4.93:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F5F1
100
#E8DF
200
#D3C4
300
#B296
400
#8A5F
500
#6832
600
#4D18
700
#3D13
800
#2C0D
900
#1C09
950
#1105

Shades

Darker variations

1#7442E9
2#5E24E5
3#4F18D0
4#4415B2
5#391194
6#2D0E77
7#220A59
8#17073B
9#0B031E

Tints

Lighter variations

1#956FEE
2#A17FF0
3#AD8FF2
4#B99FF4
5#C4AFF6
6#D0BFF8
7#DCCFF9
8#E8DFFB
9#F3EFFD

Tones

Muted variations

1#8C66E5
2#8F6DDE
3#9274D7
4#957BD0
5#9882C9
6#9A8AC2
7#9D91BB
8#A098B4
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
D3C4
#D3C4F8
Secondary backgroundsInput backgroundsDividers
300
B296
#B296F3
BordersInactive statesPlaceholder text
400
8A5F
#8A5FEC
Disabled statesSecondary iconsMuted text
500
6832
#6832E7
Primary brand colorCTAsActive elementsLinks
600
4D18
#4D18C9
Hover statesFocus ringsPrimary buttons hover
700
3D13
#3D13A0
Active/pressed statesDark mode accentsSecondary text
800
2C0D
#2C0D72
Text on light backgroundsHeadingsStrong borders
900
1C09
#1C0949
Primary textHigh emphasis contentDark headings
950
1105
#11052E
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: #D3C4F8;
  --royal-blue-300: #B296F3;
  --royal-blue-400: #8A5FEC;
  --royal-blue-500: #6832E7;
  --royal-blue-600: #4D18C9;
  --royal-blue-700: #3D13A0;
  --royal-blue-800: #2C0D72;
  --royal-blue-900: #1C0949;
  --royal-blue-950: #11052E;
}
Generate More ShadesCreate PaletteConvert Color