Royal Blue

#791AFF

Purple

Color Codes

All color formats for development

HEX
#791AFF
RGB
rgb(121, 26, 255)
HSL
hsl(265, 100%, 55%)
OKLCH
oklch(0.531 0.286 291)
CMYK
cmyk(53%, 90%, 0%, 0%)

Accessibility

WCAG contrast compliance

On White Background

6.17:1

AA AAA

On Black Background

3.40:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F6F0
100
#EADB
200
#D8BD
300
#BB8A
400
#974D
500
#791A
600
#5E00
700
#4A00
800
#3500
900
#2200
950
#1500

Shades

Darker variations

1#6900FC
2#5D00E0
3#5200C4
4#4600A8
5#3A008C
6#2F0070
7#230054
8#170038
9#0C001C

Tints

Lighter variations

1#8730FF
2#9447FF
3#A15EFF
4#AF75FF
5#BC8CFF
6#C9A3FF
7#D7BAFF
8#E4D1FF
9#F2E8FF

Tones

Muted variations

1#7B25F4
2#7D30E8
3#7F3CDD
4#8147D1
5#8353C6
6#855EBA
7#876AAF
8#8875A3
9#8A8198

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F6F0
#F6F0FF
BackgroundsSubtle highlightsCard backgrounds
100
EADB
#EADBFF
Light backgroundsTable row hoverSkeleton loading
200
D8BD
#D8BDFF
Secondary backgroundsInput backgroundsDividers
300
BB8A
#BB8AFF
BordersInactive statesPlaceholder text
400
974D
#974DFF
Disabled statesSecondary iconsMuted text
500
791A
#791AFF
Primary brand colorCTAsActive elementsLinks
600
5E00
#5E00E0
Hover statesFocus ringsPrimary buttons hover
700
4A00
#4A00B3
Active/pressed statesDark mode accentsSecondary text
800
3500
#350080
Text on light backgroundsHeadingsStrong borders
900
2200
#220052
Primary textHigh emphasis contentDark headings
950
1500
#150033
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F6F0FF;
  --royal-blue-100: #EADBFF;
  --royal-blue-200: #D8BDFF;
  --royal-blue-300: #BB8AFF;
  --royal-blue-400: #974DFF;
  --royal-blue-500: #791AFF;
  --royal-blue-600: #5E00E0;
  --royal-blue-700: #4A00B3;
  --royal-blue-800: #350080;
  --royal-blue-900: #220052;
  --royal-blue-950: #150033;
}
Generate More ShadesCreate PaletteConvert Color