Royal Blue

#8F38E0

Purple

Color Codes

All color formats for development

HEX
#8F38E0
RGB
rgb(143, 56, 224)
HSL
hsl(271, 73%, 55%)
OKLCH
oklch(0.549 0.238 302.6)
CMYK
cmyk(36%, 75%, 0%, 12%)

Accessibility

WCAG contrast compliance

On White Background

5.51:1

AA AAA

On Black Background

3.81:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F8F2
100
#EEE0
200
#DFC6
300
#C69A
400
#A865
500
#8F38
600
#731E
700
#5B18
800
#4111
900
#2A0B
950
#1A07

Shades

Darker variations

1#8122DA
2#731EC2
3#651BAA
4#561792
5#481379
6#390F61
7#2B0B49
8#1D0831
9#0E0418

Tints

Lighter variations

1#9A4CE3
2#A560E6
3#B174E9
4#BC88EC
5#C79CF0
6#D2B0F3
7#DDC3F6
8#E9D7F9
9#F4EBFC

Tones

Muted variations

1#8F41D8
2#8E49CF
3#8E52C7
4#8E5ABF
5#8E62B6
6#8D6BAE
7#8D73A5
8#8D7B9D
9#8D8495

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F8F2
#F8F2FD
BackgroundsSubtle highlightsCard backgrounds
100
EEE0
#EEE0FA
Light backgroundsTable row hoverSkeleton loading
200
DFC6
#DFC6F6
Secondary backgroundsInput backgroundsDividers
300
C69A
#C69AEF
BordersInactive statesPlaceholder text
400
A865
#A865E7
Disabled statesSecondary iconsMuted text
500
8F38
#8F38E0
Primary brand colorCTAsActive elementsLinks
600
731E
#731EC2
Hover statesFocus ringsPrimary buttons hover
700
5B18
#5B189A
Active/pressed statesDark mode accentsSecondary text
800
4111
#41116E
Text on light backgroundsHeadingsStrong borders
900
2A0B
#2A0B47
Primary textHigh emphasis contentDark headings
950
1A07
#1A072C
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F8F2FD;
  --royal-blue-100: #EEE0FA;
  --royal-blue-200: #DFC6F6;
  --royal-blue-300: #C69AEF;
  --royal-blue-400: #A865E7;
  --royal-blue-500: #8F38E0;
  --royal-blue-600: #731EC2;
  --royal-blue-700: #5B189A;
  --royal-blue-800: #41116E;
  --royal-blue-900: #2A0B47;
  --royal-blue-950: #1A072C;
}
Generate More ShadesCreate PaletteConvert Color