Royal Blue

#8628F0

Purple

Color Codes

All color formats for development

HEX
#8628F0
RGB
rgb(134, 40, 240)
HSL
hsl(268, 87%, 55%)
OKLCH
oklch(0.539 0.265 297.4)
CMYK
cmyk(44%, 83%, 0%, 6%)

Accessibility

WCAG contrast compliance

On White Background

5.87:1

AA AAA

On Black Background

3.58:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F7F1
100
#ECDE
200
#DCC1
300
#C191
400
#A158
500
#8628
600
#6A0F
700
#540C
800
#3C08
900
#2605
950
#1803

Shades

Darker variations

1#7710EC
2#6A0FD2
3#5C0DB8
4#4F0B9D
5#420983
6#350769
7#28054F
8#1A0434
9#0D021A

Tints

Lighter variations

1#923EF2
2#9E53F3
3#AA69F5
4#B67EF6
5#C294F8
6#CEA9F9
7#DBBFFB
8#E7D4FC
9#F3EAFE

Tones

Muted variations

1#8632E6
2#873CDC
3#8846D2
4#8850C8
5#895ABE
6#8A64B4
7#8A6EAA
8#8B78A0
9#8C8296

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F7F1
#F7F1FE
BackgroundsSubtle highlightsCard backgrounds
100
ECDE
#ECDEFD
Light backgroundsTable row hoverSkeleton loading
200
DCC1
#DCC1FB
Secondary backgroundsInput backgroundsDividers
300
C191
#C191F7
BordersInactive statesPlaceholder text
400
A158
#A158F3
Disabled statesSecondary iconsMuted text
500
8628
#8628F0
Primary brand colorCTAsActive elementsLinks
600
6A0F
#6A0FD2
Hover statesFocus ringsPrimary buttons hover
700
540C
#540CA7
Active/pressed statesDark mode accentsSecondary text
800
3C08
#3C0877
Text on light backgroundsHeadingsStrong borders
900
2605
#26054C
Primary textHigh emphasis contentDark headings
950
1803
#180330
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F7F1FE;
  --royal-blue-100: #ECDEFD;
  --royal-blue-200: #DCC1FB;
  --royal-blue-300: #C191F7;
  --royal-blue-400: #A158F3;
  --royal-blue-500: #8628F0;
  --royal-blue-600: #6A0FD2;
  --royal-blue-700: #540CA7;
  --royal-blue-800: #3C0877;
  --royal-blue-900: #26054C;
  --royal-blue-950: #180330;
}
Generate More ShadesCreate PaletteConvert Color