Royal Blue

#8138E0

Purple

Color Codes

All color formats for development

HEX
#8138E0
RGB
rgb(129, 56, 224)
HSL
hsl(266, 73%, 55%)
OKLCH
oklch(0.534 0.235 297.4)
CMYK
cmyk(42%, 75%, 0%, 12%)

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
#F7F2
100
#EBE0
200
#DBC6
300
#BF9A
400
#9D65
500
#8138
600
#651E
700
#5118
800
#3A11
900
#250B
950
#1707

Shades

Darker variations

1#7222DA
2#651EC2
3#591BAA
4#4C1792
5#3F1379
6#330F61
7#260B49
8#190831
9#0D0418

Tints

Lighter variations

1#8E4CE3
2#9A60E6
3#A774E9
4#B388EC
5#C09CF0
6#CDB0F3
7#D9C3F6
8#E6D7F9
9#F2EBFC

Tones

Muted variations

1#8241D8
2#8349CF
3#8452C7
4#865ABF
5#8762B6
6#886BAE
7#8973A5
8#8A7B9D
9#8B8495

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F7F2
#F7F2FD
BackgroundsSubtle highlightsCard backgrounds
100
EBE0
#EBE0FA
Light backgroundsTable row hoverSkeleton loading
200
DBC6
#DBC6F6
Secondary backgroundsInput backgroundsDividers
300
BF9A
#BF9AEF
BordersInactive statesPlaceholder text
400
9D65
#9D65E7
Disabled statesSecondary iconsMuted text
500
8138
#8138E0
Primary brand colorCTAsActive elementsLinks
600
651E
#651EC2
Hover statesFocus ringsPrimary buttons hover
700
5118
#51189A
Active/pressed statesDark mode accentsSecondary text
800
3A11
#3A116E
Text on light backgroundsHeadingsStrong borders
900
250B
#250B47
Primary textHigh emphasis contentDark headings
950
1707
#17072C
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F7F2FD;
  --royal-blue-100: #EBE0FA;
  --royal-blue-200: #DBC6F6;
  --royal-blue-300: #BF9AEF;
  --royal-blue-400: #9D65E7;
  --royal-blue-500: #8138E0;
  --royal-blue-600: #651EC2;
  --royal-blue-700: #51189A;
  --royal-blue-800: #3A116E;
  --royal-blue-900: #250B47;
  --royal-blue-950: #17072C;
}
Generate More ShadesCreate PaletteConvert Color