Royal Blue

#8F2FE9

Purple

Color Codes

All color formats for development

HEX
#8F2FE9
RGB
rgb(143, 47, 233)
HSL
hsl(271, 81%, 55%)
OKLCH
oklch(0.549 0.254 301.4)
CMYK
cmyk(39%, 80%, 0%, 9%)

Accessibility

WCAG contrast compliance

On White Background

5.60:1

AA AAA

On Black Background

3.75:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F8F1
100
#EEDF
200
#DFC3
300
#C695
400
#A85D
500
#8F2F
600
#7315
700
#5C11
800
#410C
900
#2A08
950
#1A05

Shades

Darker variations

1#8218E4
2#7315CB
3#6513B2
4#561098
5#480D7F
6#3A0B66
7#2B084C
8#1D0533
9#0E0319

Tints

Lighter variations

1#9B44EB
2#A659EE
3#B16EF0
4#BC82F2
5#C797F4
6#D2ACF6
7#DEC1F8
8#E9D5FB
9#F4EAFD

Tones

Muted variations

1#8F39E0
2#8F42D7
3#8E4BCD
4#8E54C4
5#8E5EBB
6#8D67B1
7#8D70A8
8#8D7A9F
9#8D8396

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F8F1
#F8F1FE
BackgroundsSubtle highlightsCard backgrounds
100
EEDF
#EEDFFC
Light backgroundsTable row hoverSkeleton loading
200
DFC3
#DFC3F9
Secondary backgroundsInput backgroundsDividers
300
C695
#C695F4
BordersInactive statesPlaceholder text
400
A85D
#A85DEE
Disabled statesSecondary iconsMuted text
500
8F2F
#8F2FE9
Primary brand colorCTAsActive elementsLinks
600
7315
#7315CB
Hover statesFocus ringsPrimary buttons hover
700
5C11
#5C11A2
Active/pressed statesDark mode accentsSecondary text
800
410C
#410C73
Text on light backgroundsHeadingsStrong borders
900
2A08
#2A084A
Primary textHigh emphasis contentDark headings
950
1A05
#1A052E
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F8F1FE;
  --royal-blue-100: #EEDFFC;
  --royal-blue-200: #DFC3F9;
  --royal-blue-300: #C695F4;
  --royal-blue-400: #A85DEE;
  --royal-blue-500: #8F2FE9;
  --royal-blue-600: #7315CB;
  --royal-blue-700: #5C11A2;
  --royal-blue-800: #410C73;
  --royal-blue-900: #2A084A;
  --royal-blue-950: #1A052E;
}
Generate More ShadesCreate PaletteConvert Color