Royal Blue
#7A20F8
PurpleColor Codes
All color formats for development
HEX
#7A20F8RGB
rgb(122, 32, 248)HSL
hsl(265, 94%, 55%)OKLCH
oklch(0.528 0.276 292.3)CMYK
cmyk(51%, 87%, 0%, 3%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#6A08F5
2#5F07DA
3#5306BE
4#4705A3
5#3B0488
6#2F036D
7#230352
8#180236
9#0C011B
Tints
Lighter variations
1#8837F9
2#954DF9
3#A263FA
4#AF79FB
5#BD90FC
6#CAA6FC
7#D7BCFD
8#E4D2FE
9#F2E9FE
Tones
Muted variations
1#7C2BED
2#7E36E3
3#8041D8
4#814CCD
5#8356C2
6#8561B7
7#876CAD
8#8977A2
9#8A8197
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F6F0 #F6F0FF | BackgroundsSubtle highlightsCard backgrounds |
| 100 | EADC #EADCFE | Light backgroundsTable row hoverSkeleton loading |
| 200 | D9BF #D9BFFD | Secondary backgroundsInput backgroundsDividers |
| 300 | BB8D #BB8DFB | BordersInactive statesPlaceholder text |
| 400 | 9852 #9852FA | Disabled statesSecondary iconsMuted text |
| 500 | 7A20 #7A20F8 | Primary brand colorCTAsActive elementsLinks |
| 600 | 5F07 #5F07DA | Hover statesFocus ringsPrimary buttons hover |
| 700 | 4B05 #4B05AD | Active/pressed statesDark mode accentsSecondary text |
| 800 | 3604 #36047C | Text on light backgroundsHeadingsStrong borders |
| 900 | 2202 #22024F | Primary textHigh emphasis contentDark headings |
| 950 | 1602 #160231 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F6F0FF;
--royal-blue-100: #EADCFE;
--royal-blue-200: #D9BFFD;
--royal-blue-300: #BB8DFB;
--royal-blue-400: #9852FA;
--royal-blue-500: #7A20F8;
--royal-blue-600: #5F07DA;
--royal-blue-700: #4B05AD;
--royal-blue-800: #36047C;
--royal-blue-900: #22024F;
--royal-blue-950: #160231;
}