Royal Blue

#8F30E8

Purple

Color Codes

All color formats for development

HEX
#8F30E8
RGB
rgb(143, 48, 232)
HSL
hsl(271, 80%, 55%)
OKLCH
oklch(0.549 0.253 301.6)
CMYK
cmyk(38%, 79%, 0%, 9%)

Accessibility

WCAG contrast compliance

On White Background

5.59:1

AA AAA

On Black Background

3.76: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
#A85E
500
#8F30
600
#7316
700
#5C12
800
#410D
900
#2A08
950
#1A05

Shades

Darker variations

1#8219E3
2#7316CA
3#6514B1
4#561197
5#480E7E
6#3A0B65
7#2B084C
8#1D0632
9#0E0319

Tints

Lighter variations

1#9A45EA
2#A65AED
3#B16EEF
4#BC83F1
5#C798F4
6#D2ACF6
7#DDC1F8
8#E9D6FA
9#F4EAFD

Tones

Muted variations

1#8F3ADF
2#8F43D6
3#8E4CCD
4#8E55C3
5#8E5EBA
6#8D68B1
7#8D71A8
8#8D7A9F
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
DFC3
#DFC3F8
Secondary backgroundsInput backgroundsDividers
300
C695
#C695F3
BordersInactive statesPlaceholder text
400
A85E
#A85EED
Disabled statesSecondary iconsMuted text
500
8F30
#8F30E8
Primary brand colorCTAsActive elementsLinks
600
7316
#7316CA
Hover statesFocus ringsPrimary buttons hover
700
5C12
#5C12A1
Active/pressed statesDark mode accentsSecondary text
800
410D
#410D73
Text on light backgroundsHeadingsStrong borders
900
2A08
#2A0849
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: #F8F1FD;
  --royal-blue-100: #EEDFFB;
  --royal-blue-200: #DFC3F8;
  --royal-blue-300: #C695F3;
  --royal-blue-400: #A85EED;
  --royal-blue-500: #8F30E8;
  --royal-blue-600: #7316CA;
  --royal-blue-700: #5C12A1;
  --royal-blue-800: #410D73;
  --royal-blue-900: #2A0849;
  --royal-blue-950: #1A052E;
}
Generate More ShadesCreate PaletteConvert Color