Royal Blue

#8F34E5

Purple

Color Codes

All color formats for development

HEX
#8F34E5
RGB
rgb(143, 52, 229)
HSL
hsl(271, 77%, 55%)
OKLCH
oklch(0.55 0.246 301.9)
CMYK
cmyk(38%, 77%, 0%, 10%)

Accessibility

WCAG contrast compliance

On White Background

5.54:1

AA AAA

On Black Background

3.79:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F8F1
100
#EEDF
200
#DFC4
300
#C697
400
#A861
500
#8F34
600
#731A
700
#5C15
800
#410F
900
#2A09
950
#1A06

Shades

Darker variations

1#811DDF
2#731AC7
3#6517AE
4#561395
5#48107C
6#3A0D63
7#2B0A4A
8#1D0632
9#0E0319

Tints

Lighter variations

1#9A48E7
2#A65DEA
3#B171ED
4#BC85EF
5#C799F2
6#D2AEF4
7#DDC2F7
8#E9D6FA
9#F4EBFC

Tones

Muted variations

1#8F3DDC
2#8F46D3
3#8E4ECA
4#8E57C1
5#8E60B8
6#8D69B0
7#8D72A7
8#8D7B9E
9#8D8395

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F8F1
#F8F1FD
BackgroundsSubtle highlightsCard backgrounds
100
EEDF
#EEDFFB
Light backgroundsTable row hoverSkeleton loading
200
DFC4
#DFC4F7
Secondary backgroundsInput backgroundsDividers
300
C697
#C697F2
BordersInactive statesPlaceholder text
400
A861
#A861EA
Disabled statesSecondary iconsMuted text
500
8F34
#8F34E5
Primary brand colorCTAsActive elementsLinks
600
731A
#731AC7
Hover statesFocus ringsPrimary buttons hover
700
5C15
#5C159E
Active/pressed statesDark mode accentsSecondary text
800
410F
#410F71
Text on light backgroundsHeadingsStrong borders
900
2A09
#2A0948
Primary textHigh emphasis contentDark headings
950
1A06
#1A062D
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F8F1FD;
  --royal-blue-100: #EEDFFB;
  --royal-blue-200: #DFC4F7;
  --royal-blue-300: #C697F2;
  --royal-blue-400: #A861EA;
  --royal-blue-500: #8F34E5;
  --royal-blue-600: #731AC7;
  --royal-blue-700: #5C159E;
  --royal-blue-800: #410F71;
  --royal-blue-900: #2A0948;
  --royal-blue-950: #1A062D;
}
Generate More ShadesCreate PaletteConvert Color