Royal Blue

#7938E0

Purple

Color Codes

All color formats for development

HEX
#7938E0
RGB
rgb(121, 56, 224)
HSL
hsl(263, 73%, 55%)
OKLCH
oklch(0.525 0.235 294.4)
CMYK
cmyk(46%, 75%, 0%, 12%)

Accessibility

WCAG contrast compliance

On White Background

6.08:1

AA AAA

On Black Background

3.46:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F6F2
100
#EAE0
200
#D8C6
300
#BA9A
400
#9765
500
#7938
600
#5D1E
700
#4A18
800
#3511
900
#220B
950
#1507

Shades

Darker variations

1#6922DA
2#5D1EC2
3#511BAA
4#461792
5#3A1379
6#2F0F61
7#230B49
8#170831
9#0C0418

Tints

Lighter variations

1#864CE3
2#9460E6
3#A174E9
4#AE88EC
5#BC9CF0
6#C9B0F3
7#D7C3F6
8#E4D7F9
9#F2EBFC

Tones

Muted variations

1#7B41D8
2#7D49CF
3#7F52C7
4#815ABF
5#8262B6
6#846BAE
7#8673A5
8#887B9D
9#8A8495

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F6F2
#F6F2FD
BackgroundsSubtle highlightsCard backgrounds
100
EAE0
#EAE0FA
Light backgroundsTable row hoverSkeleton loading
200
D8C6
#D8C6F6
Secondary backgroundsInput backgroundsDividers
300
BA9A
#BA9AEF
BordersInactive statesPlaceholder text
400
9765
#9765E7
Disabled statesSecondary iconsMuted text
500
7938
#7938E0
Primary brand colorCTAsActive elementsLinks
600
5D1E
#5D1EC2
Hover statesFocus ringsPrimary buttons hover
700
4A18
#4A189A
Active/pressed statesDark mode accentsSecondary text
800
3511
#35116E
Text on light backgroundsHeadingsStrong borders
900
220B
#220B47
Primary textHigh emphasis contentDark headings
950
1507
#15072C
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F6F2FD;
  --royal-blue-100: #EAE0FA;
  --royal-blue-200: #D8C6F6;
  --royal-blue-300: #BA9AEF;
  --royal-blue-400: #9765E7;
  --royal-blue-500: #7938E0;
  --royal-blue-600: #5D1EC2;
  --royal-blue-700: #4A189A;
  --royal-blue-800: #35116E;
  --royal-blue-900: #220B47;
  --royal-blue-950: #15072C;
}
Generate More ShadesCreate PaletteConvert Color