Royal Blue

#8927F1

Purple

Color Codes

All color formats for development

HEX
#8927F1
RGB
rgb(137, 39, 241)
HSL
hsl(269, 88%, 55%)
OKLCH
oklch(0.543 0.267 298.3)
CMYK
cmyk(43%, 84%, 0%, 5%)

Accessibility

WCAG contrast compliance

On White Background

5.79:1

AA AAA

On Black Background

3.62:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F7F1
100
#EDDD
200
#DDC1
300
#C391
400
#A357
500
#8927
600
#6D0D
700
#570B
800
#3E08
900
#2805
950
#1903

Shades

Darker variations

1#7B0FED
2#6D0DD3
3#5F0CB9
4#520A9E
5#440884
6#360769
7#29054F
8#1B0335
9#0E021A

Tints

Lighter variations

1#953DF3
2#A152F4
3#AC68F5
4#B87EF7
5#C493F8
6#D0A9F9
7#DCBEFB
8#E7D4FC
9#F3E9FE

Tones

Muted variations

1#8931E7
2#8A3BDD
3#8A46D3
4#8A50C9
5#8B5ABF
6#8B64B5
7#8B6EAB
8#8C78A0
9#8C8296

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F7F1
#F7F1FE
BackgroundsSubtle highlightsCard backgrounds
100
EDDD
#EDDDFD
Light backgroundsTable row hoverSkeleton loading
200
DDC1
#DDC1FB
Secondary backgroundsInput backgroundsDividers
300
C391
#C391F8
BordersInactive statesPlaceholder text
400
A357
#A357F4
Disabled statesSecondary iconsMuted text
500
8927
#8927F1
Primary brand colorCTAsActive elementsLinks
600
6D0D
#6D0DD3
Hover statesFocus ringsPrimary buttons hover
700
570B
#570BA8
Active/pressed statesDark mode accentsSecondary text
800
3E08
#3E0878
Text on light backgroundsHeadingsStrong borders
900
2805
#28054D
Primary textHigh emphasis contentDark headings
950
1903
#190330
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F7F1FE;
  --royal-blue-100: #EDDDFD;
  --royal-blue-200: #DDC1FB;
  --royal-blue-300: #C391F8;
  --royal-blue-400: #A357F4;
  --royal-blue-500: #8927F1;
  --royal-blue-600: #6D0DD3;
  --royal-blue-700: #570BA8;
  --royal-blue-800: #3E0878;
  --royal-blue-900: #28054D;
  --royal-blue-950: #190330;
}
Generate More ShadesCreate PaletteConvert Color