Royal Blue
#8C20F8
PurpleColor Codes
All color formats for development
HEX
#8C20F8RGB
rgb(140, 32, 248)HSL
hsl(270, 94%, 55%)OKLCH
oklch(0.548 0.278 298.3)CMYK
cmyk(44%, 87%, 0%, 3%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#7E08F5
2#7007DA
3#6206BE
4#5405A3
5#460488
6#38036D
7#2A0352
8#1C0236
9#0E011B
Tints
Lighter variations
1#9837F9
2#A34DF9
3#AF63FA
4#BA79FB
5#C690FC
6#D1A6FC
7#DDBCFD
8#E8D2FE
9#F4E9FE
Tones
Muted variations
1#8C2BED
2#8C36E3
3#8C41D8
4#8C4CCD
5#8C56C2
6#8C61B7
7#8C6CAD
8#8C77A2
9#8C8197
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F7F0 #F7F0FF | BackgroundsSubtle highlightsCard backgrounds |
| 100 | EDDC #EDDCFE | Light backgroundsTable row hoverSkeleton loading |
| 200 | DEBF #DEBFFD | Secondary backgroundsInput backgroundsDividers |
| 300 | C48D #C48DFB | BordersInactive statesPlaceholder text |
| 400 | A652 #A652FA | Disabled statesSecondary iconsMuted text |
| 500 | 8C20 #8C20F8 | Primary brand colorCTAsActive elementsLinks |
| 600 | 7007 #7007DA | Hover statesFocus ringsPrimary buttons hover |
| 700 | 5905 #5905AD | Active/pressed statesDark mode accentsSecondary text |
| 800 | 4004 #40047C | Text on light backgroundsHeadingsStrong borders |
| 900 | 2902 #29024F | Primary textHigh emphasis contentDark headings |
| 950 | 1A02 #1A0231 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F7F0FF;
--royal-blue-100: #EDDCFE;
--royal-blue-200: #DEBFFD;
--royal-blue-300: #C48DFB;
--royal-blue-400: #A652FA;
--royal-blue-500: #8C20F8;
--royal-blue-600: #7007DA;
--royal-blue-700: #5905AD;
--royal-blue-800: #40047C;
--royal-blue-900: #29024F;
--royal-blue-950: #1A0231;
}