Royal Blue

#7F52FA

Purple

Color Codes

All color formats for development

HEX
#7F52FA
RGB
rgb(127, 82, 250)
HSL
hsl(256, 94%, 65%)
OKLCH
oklch(0.584 0.236 289.3)
CMYK
cmyk(49%, 67%, 0%, 2%)

Accessibility

WCAG contrast compliance

On White Background

4.68:1

AA AAA

On Black Background

4.49:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#F4F0
100
#E5DC
200
#CFBF
300
#AB8D
400
#7F52
500
#5A20
600
#3F07
700
#3205
800
#2404
900
#1702
950
#0E02

Shades

Darker variations

1#6732F9
2#4F12F8
3#4107E1
4#3806C1
5#2F05A1
6#250481
7#1C0360
8#130240
9#090120

Tints

Lighter variations

1#8B63FA
2#9874FB
3#A586FB
4#B297FC
5#BFA8FC
6#CCBAFD
7#D8CBFD
8#E5DCFE
9#F2EEFE

Tones

Muted variations

1#835AF1
2#8663E9
3#8A6BE0
4#8E73D8
5#927CD0
6#9684C7
7#9A8DBF
8#9E95B7
9#A29DAE

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
F4F0
#F4F0FF
BackgroundsSubtle highlightsCard backgrounds
100
E5DC
#E5DCFE
Light backgroundsTable row hoverSkeleton loading
200
CFBF
#CFBFFD
Secondary backgroundsInput backgroundsDividers
300
AB8D
#AB8DFB
BordersInactive statesPlaceholder text
400
7F52
#7F52FA
Disabled statesSecondary iconsMuted text
500
5A20
#5A20F8
Primary brand colorCTAsActive elementsLinks
600
3F07
#3F07DA
Hover statesFocus ringsPrimary buttons hover
700
3205
#3205AD
Active/pressed statesDark mode accentsSecondary text
800
2404
#24047C
Text on light backgroundsHeadingsStrong borders
900
1702
#17024F
Primary textHigh emphasis contentDark headings
950
0E02
#0E0231
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --royal-blue-50: #F4F0FF;
  --royal-blue-100: #E5DCFE;
  --royal-blue-200: #CFBFFD;
  --royal-blue-300: #AB8DFB;
  --royal-blue-400: #7F52FA;
  --royal-blue-500: #5A20F8;
  --royal-blue-600: #3F07DA;
  --royal-blue-700: #3205AD;
  --royal-blue-800: #24047C;
  --royal-blue-900: #17024F;
  --royal-blue-950: #0E0231;
}
Generate More ShadesCreate PaletteConvert Color