Royal Blue

#8334E5

Purple

Color Codes

All color formats for development

HEX
#8334E5
RGB
rgb(131, 52, 229)
HSL
hsl(267, 77%, 55%)
OKLCH
oklch(0.536 0.245 297.5)
CMYK
cmyk(43%, 77%, 0%, 10%)

Accessibility

WCAG contrast compliance

On White Background

5.85:1

AA AAA

On Black Background

3.59:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F7F1
100
#ECDF
200
#DBC4
300
#C097
400
#9F61
500
#8334
600
#681A
700
#5215
800
#3B0F
900
#2609
950
#1806

Shades

Darker variations

1#751DDF
2#681AC7
3#5B17AE
4#4E1395
5#41107C
6#340D63
7#270A4A
8#1A0632
9#0D0319

Tints

Lighter variations

1#9048E7
2#9C5DEA
3#A871ED
4#B585EF
5#C199F2
6#CEAEF4
7#DAC2F7
8#E6D6FA
9#F3EBFC

Tones

Muted variations

1#843DDC
2#8546D3
3#864ECA
4#8757C1
5#8860B8
6#8969B0
7#8A72A7
8#8A7B9E
9#8B8395

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F7F1
#F7F1FD
BackgroundsSubtle highlightsCard backgrounds
100
ECDF
#ECDFFB
Light backgroundsTable row hoverSkeleton loading
200
DBC4
#DBC4F7
Secondary backgroundsInput backgroundsDividers
300
C097
#C097F2
BordersInactive statesPlaceholder text
400
9F61
#9F61EA
Disabled statesSecondary iconsMuted text
500
8334
#8334E5
Primary brand colorCTAsActive elementsLinks
600
681A
#681AC7
Hover statesFocus ringsPrimary buttons hover
700
5215
#52159E
Active/pressed statesDark mode accentsSecondary text
800
3B0F
#3B0F71
Text on light backgroundsHeadingsStrong borders
900
2609
#260948
Primary textHigh emphasis contentDark headings
950
1806
#18062D
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F7F1FD;
  --royal-blue-100: #ECDFFB;
  --royal-blue-200: #DBC4F7;
  --royal-blue-300: #C097F2;
  --royal-blue-400: #9F61EA;
  --royal-blue-500: #8334E5;
  --royal-blue-600: #681AC7;
  --royal-blue-700: #52159E;
  --royal-blue-800: #3B0F71;
  --royal-blue-900: #260948;
  --royal-blue-950: #18062D;
}
Generate More ShadesCreate PaletteConvert Color