Royal Blue

#7827F1

Purple

Color Codes

All color formats for development

HEX
#7827F1
RGB
rgb(120, 39, 241)
HSL
hsl(264, 88%, 55%)
OKLCH
oklch(0.524 0.266 292.4)
CMYK
cmyk(50%, 84%, 0%, 5%)

Accessibility

WCAG contrast compliance

On White Background

6.25:1

AA AAA

On Black Background

3.36:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F6F1
100
#EADD
200
#D8C1
300
#BA91
400
#9657
500
#7827
600
#5C0D
700
#4A0B
800
#3508
900
#2205
950
#1503

Shades

Darker variations

1#680FED
2#5C0DD3
3#510CB9
4#450A9E
5#3A0884
6#2E0769
7#23054F
8#170335
9#0C021A

Tints

Lighter variations

1#863DF3
2#9352F4
3#A168F5
4#AE7EF7
5#BC93F8
6#C9A9F9
7#D7BEFB
8#E4D4FC
9#F2E9FE

Tones

Muted variations

1#7A31E7
2#7C3BDD
3#7E46D3
4#8050C9
5#825ABF
6#8464B5
7#866EAB
8#8878A0
9#8A8296

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F6F1
#F6F1FE
BackgroundsSubtle highlightsCard backgrounds
100
EADD
#EADDFD
Light backgroundsTable row hoverSkeleton loading
200
D8C1
#D8C1FB
Secondary backgroundsInput backgroundsDividers
300
BA91
#BA91F8
BordersInactive statesPlaceholder text
400
9657
#9657F4
Disabled statesSecondary iconsMuted text
500
7827
#7827F1
Primary brand colorCTAsActive elementsLinks
600
5C0D
#5C0DD3
Hover statesFocus ringsPrimary buttons hover
700
4A0B
#4A0BA8
Active/pressed statesDark mode accentsSecondary text
800
3508
#350878
Text on light backgroundsHeadingsStrong borders
900
2205
#22054D
Primary textHigh emphasis contentDark headings
950
1503
#150330
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F6F1FE;
  --royal-blue-100: #EADDFD;
  --royal-blue-200: #D8C1FB;
  --royal-blue-300: #BA91F8;
  --royal-blue-400: #9657F4;
  --royal-blue-500: #7827F1;
  --royal-blue-600: #5C0DD3;
  --royal-blue-700: #4A0BA8;
  --royal-blue-800: #350878;
  --royal-blue-900: #22054D;
  --royal-blue-950: #150330;
}
Generate More ShadesCreate PaletteConvert Color