Royal Blue

#8B5CF6

Purple

Color Codes

All color formats for development

HEX
#8B5CF6
RGB
rgb(139, 92, 246)
HSL
hsl(258, 90%, 66%)
OKLCH
oklch(0.606 0.219 292.7)
CMYK
cmyk(43%, 63%, 0%, 4%)

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
#F5F0
100
#E7DD
200
#D2C0
300
#AF90
400
#8655
500
#6325
600
#480B
700
#3909
800
#2906
900
#1A04
950
#1003

Shades

Darker variations

1#723AF5
2#5B1AF3
3#4B0CE0
4#410AC0
5#3608A0
6#2B0780
7#200560
8#160340
9#0B0220

Tints

Lighter variations

1#956BF7
2#A17BF8
3#AC8CF9
4#B89CFA
5#C4ADFB
6#D0BDFC
7#DCCEFC
8#E7DEFD
9#F3EFFE

Tones

Muted variations

1#8C62EF
2#8F6AE7
3#9272DF
4#9679D7
5#9981CF
6#9C89C8
7#9F91C0
8#A299B8
9#A5A0B0

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F5F0
#F5F0FE
BackgroundsSubtle highlightsCard backgrounds
100
E7DD
#E7DDFD
Light backgroundsTable row hoverSkeleton loading
200
D2C0
#D2C0FC
Secondary backgroundsInput backgroundsDividers
300
AF90
#AF90F9
BordersInactive statesPlaceholder text
400
8655
#8655F6
Disabled statesSecondary iconsMuted text
500
6325
#6325F4
Primary brand colorCTAsActive elementsLinks
600
480B
#480BD5
Hover statesFocus ringsPrimary buttons hover
700
3909
#3909AA
Active/pressed statesDark mode accentsSecondary text
800
2906
#290679
Text on light backgroundsHeadingsStrong borders
900
1A04
#1A044E
Primary textHigh emphasis contentDark headings
950
1003
#100330
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F5F0FE;
  --royal-blue-100: #E7DDFD;
  --royal-blue-200: #D2C0FC;
  --royal-blue-300: #AF90F9;
  --royal-blue-400: #8655F6;
  --royal-blue-500: #6325F4;
  --royal-blue-600: #480BD5;
  --royal-blue-700: #3909AA;
  --royal-blue-800: #290679;
  --royal-blue-900: #1A044E;
  --royal-blue-950: #100330;
}
Generate More ShadesCreate PaletteConvert Color