Royal Blue
#7E51FB
PurpleColor Codes
All color formats for development
HEX
#7E51FBRGB
rgb(126, 81, 251)HSL
hsl(256, 96%, 65%)OKLCH
oklch(0.582 0.238 289)CMYK
cmyk(50%, 68%, 0%, 2%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#6630FB
2#4E0FFA
3#4005E3
4#3704C3
5#2E03A2
6#250382
7#1B0261
8#120141
9#090120
Tints
Lighter variations
1#8B62FC
2#9873FC
3#A585FD
4#B196FD
5#BEA8FD
6#CBB9FE
7#D8CBFE
8#E5DCFE
9#F2EEFF
Tones
Muted variations
1#8259F3
2#8661EA
3#8A6AE2
4#8E72D9
5#927BD1
6#9683C8
7#9A8CBF
8#9E95B7
9#A29DAE
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F4F0 #F4F0FF | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E5DC #E5DCFE | Light backgroundsTable row hoverSkeleton loading |
| 200 | CFBE #CFBEFE | Secondary backgroundsInput backgroundsDividers |
| 300 | AA8C #AA8CFD | BordersInactive statesPlaceholder text |
| 400 | 7E50 #7E50FB | Disabled statesSecondary iconsMuted text |
| 500 | 591E #591EFA | Primary brand colorCTAsActive elementsLinks |
| 600 | 3E04 #3E04DC | Hover statesFocus ringsPrimary buttons hover |
| 700 | 3104 #3104AF | Active/pressed statesDark mode accentsSecondary text |
| 800 | 2303 #23037D | Text on light backgroundsHeadingsStrong borders |
| 900 | 1702 #170250 | Primary textHigh emphasis contentDark headings |
| 950 | 0E01 #0E0132 | 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: #CFBEFE;
--royal-blue-300: #AA8CFD;
--royal-blue-400: #7E50FB;
--royal-blue-500: #591EFA;
--royal-blue-600: #3E04DC;
--royal-blue-700: #3104AF;
--royal-blue-800: #23037D;
--royal-blue-900: #170250;
--royal-blue-950: #0E0132;
}