Royal Blue

#7F4DFF

Purple

Color Codes

All color formats for development

HEX
#7F4DFF
RGB
rgb(127, 77, 255)
HSL
hsl(257, 100%, 65%)
OKLCH
oklch(0.581 0.247 289.3)
CMYK
cmyk(50%, 70%, 0%, 0%)

Accessibility

WCAG contrast compliance

On White Background

4.76:1

AA AAA

On Black Background

4.41:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F4F0
100
#E5DB
200
#CFBD
300
#AB8A
400
#7F4D
500
#5B1A
600
#4000
700
#3300
800
#2400
900
#1700
950
#0E00

Shades

Darker variations

1#672BFF
2#500AFF
3#4200E8
4#3800C7
5#2F00A6
6#260085
7#1C0063
8#130042
9#090021

Tints

Lighter variations

1#8C5EFF
2#9970FF
3#A582FF
4#B294FF
5#BFA6FF
6#CCB8FF
7#D9C9FF
8#E5DBFF
9#F2EDFF

Tones

Muted variations

1#8355F6
2#875EED
3#8B67E4
4#8F70DB
5#9279D2
6#9682C9
7#9A8BC1
8#9E94B8
9#A29DAF

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F4F0
#F4F0FF
BackgroundsSubtle highlightsCard backgrounds
100
E5DB
#E5DBFF
Light backgroundsTable row hoverSkeleton loading
200
CFBD
#CFBDFF
Secondary backgroundsInput backgroundsDividers
300
AB8A
#AB8AFF
BordersInactive statesPlaceholder text
400
7F4D
#7F4DFF
Disabled statesSecondary iconsMuted text
500
5B1A
#5B1AFF
Primary brand colorCTAsActive elementsLinks
600
4000
#4000E0
Hover statesFocus ringsPrimary buttons hover
700
3300
#3300B3
Active/pressed statesDark mode accentsSecondary text
800
2400
#240080
Text on light backgroundsHeadingsStrong borders
900
1700
#170052
Primary textHigh emphasis contentDark headings
950
0E00
#0E0033
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F4F0FF;
  --royal-blue-100: #E5DBFF;
  --royal-blue-200: #CFBDFF;
  --royal-blue-300: #AB8AFF;
  --royal-blue-400: #7F4DFF;
  --royal-blue-500: #5B1AFF;
  --royal-blue-600: #4000E0;
  --royal-blue-700: #3300B3;
  --royal-blue-800: #240080;
  --royal-blue-900: #170052;
  --royal-blue-950: #0E0033;
}
Generate More ShadesCreate PaletteConvert Color