Royal Blue

#8C26F2

Purple

Color Codes

All color formats for development

HEX
#8C26F2
RGB
rgb(140, 38, 242)
HSL
hsl(270, 89%, 55%)
OKLCH
oklch(0.546 0.269 299.1)
CMYK
cmyk(42%, 84%, 0%, 5%)

Accessibility

WCAG contrast compliance

On White Background

5.72:1

AA AAA

On Black Background

3.67:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F7F1
100
#EDDD
200
#DEC0
300
#C490
400
#A656
500
#8C26
600
#700C
700
#590A
800
#4007
900
#2904
950
#1A03

Shades

Darker variations

1#7E0EEF
2#700CD4
3#620BBA
4#54099F
5#460885
6#38066A
7#2A0550
8#1C0335
9#0E021B

Tints

Lighter variations

1#983CF4
2#A351F5
3#AF67F6
4#BA7DF7
5#C693F9
6#D1A8FA
7#DDBEFB
8#E8D4FC
9#F4E9FE

Tones

Muted variations

1#8C30E8
2#8C3BDE
3#8C45D4
4#8C4FCA
5#8C59BF
6#8C63B5
7#8C6EAB
8#8C78A1
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
DEC0
#DEC0FB
Secondary backgroundsInput backgroundsDividers
300
C490
#C490F9
BordersInactive statesPlaceholder text
400
A656
#A656F5
Disabled statesSecondary iconsMuted text
500
8C26
#8C26F2
Primary brand colorCTAsActive elementsLinks
600
700C
#700CD4
Hover statesFocus ringsPrimary buttons hover
700
590A
#590AA9
Active/pressed statesDark mode accentsSecondary text
800
4007
#400778
Text on light backgroundsHeadingsStrong borders
900
2904
#29044D
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: #DEC0FB;
  --royal-blue-300: #C490F9;
  --royal-blue-400: #A656F5;
  --royal-blue-500: #8C26F2;
  --royal-blue-600: #700CD4;
  --royal-blue-700: #590AA9;
  --royal-blue-800: #400778;
  --royal-blue-900: #29044D;
  --royal-blue-950: #1A0330;
}
Generate More ShadesCreate PaletteConvert Color