Royal Blue

#8C27F1

Purple

Color Codes

All color formats for development

HEX
#8C27F1
RGB
rgb(140, 39, 241)
HSL
hsl(270, 88%, 55%)
OKLCH
oklch(0.546 0.267 299.3)
CMYK
cmyk(42%, 84%, 0%, 5%)

Accessibility

WCAG contrast compliance

On White Background

5.71:1

AA AAA

On Black Background

3.68:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F7F1
100
#EDDD
200
#DEC1
300
#C491
400
#A657
500
#8C27
600
#700D
700
#590B
800
#4008
900
#2905
950
#1A03

Shades

Darker variations

1#7E0FED
2#700DD3
3#620CB9
4#540A9E
5#460884
6#380769
7#2A054F
8#1C0335
9#0E021A

Tints

Lighter variations

1#983DF3
2#A352F4
3#AF68F5
4#BA7EF7
5#C693F8
6#D1A9F9
7#DDBEFB
8#E8D4FC
9#F4E9FE

Tones

Muted variations

1#8C31E7
2#8C3BDD
3#8C46D3
4#8C50C9
5#8C5ABF
6#8C64B5
7#8C6EAB
8#8C78A0
9#8C8296

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F7F1
#F7F1FE
BackgroundsSubtle highlightsCard backgrounds
100
EDDD
#EDDDFD
Light backgroundsTable row hoverSkeleton loading
200
DEC1
#DEC1FB
Secondary backgroundsInput backgroundsDividers
300
C491
#C491F8
BordersInactive statesPlaceholder text
400
A657
#A657F4
Disabled statesSecondary iconsMuted text
500
8C27
#8C27F1
Primary brand colorCTAsActive elementsLinks
600
700D
#700DD3
Hover statesFocus ringsPrimary buttons hover
700
590B
#590BA8
Active/pressed statesDark mode accentsSecondary text
800
4008
#400878
Text on light backgroundsHeadingsStrong borders
900
2905
#29054D
Primary textHigh emphasis contentDark headings
950
1A03
#1A0330
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F7F1FE;
  --royal-blue-100: #EDDDFD;
  --royal-blue-200: #DEC1FB;
  --royal-blue-300: #C491F8;
  --royal-blue-400: #A657F4;
  --royal-blue-500: #8C27F1;
  --royal-blue-600: #700DD3;
  --royal-blue-700: #590BA8;
  --royal-blue-800: #400878;
  --royal-blue-900: #29054D;
  --royal-blue-950: #1A0330;
}
Generate More ShadesCreate PaletteConvert Color