Royal Blue
#8C30E8
PurpleColor Codes
All color formats for development
HEX
#8C30E8RGB
rgb(140, 48, 232)HSL
hsl(270, 80%, 55%)OKLCH
oklch(0.545 0.252 300.5)CMYK
cmyk(40%, 79%, 0%, 9%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#7E19E3
2#7016CA
3#6214B1
4#541197
5#460E7E
6#380B65
7#2A084C
8#1C0632
9#0E0319
Tints
Lighter variations
1#9845EA
2#A35AED
3#AF6EEF
4#BA83F1
5#C698F4
6#D1ACF6
7#DDC1F8
8#E8D6FA
9#F4EAFD
Tones
Muted variations
1#8C3ADF
2#8C43D6
3#8C4CCD
4#8C55C3
5#8C5EBA
6#8C68B1
7#8C71A8
8#8C7A9F
9#8C8395
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F7F1 #F7F1FD | BackgroundsSubtle highlightsCard backgrounds |
| 100 | EDDF #EDDFFB | Light backgroundsTable row hoverSkeleton loading |
| 200 | DEC3 #DEC3F8 | Secondary backgroundsInput backgroundsDividers |
| 300 | C495 #C495F3 | BordersInactive statesPlaceholder text |
| 400 | A65E #A65EED | Disabled statesSecondary iconsMuted text |
| 500 | 8C30 #8C30E8 | Primary brand colorCTAsActive elementsLinks |
| 600 | 7016 #7016CA | Hover statesFocus ringsPrimary buttons hover |
| 700 | 5912 #5912A1 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 400D #400D73 | Text on light backgroundsHeadingsStrong borders |
| 900 | 2908 #290849 | Primary textHigh emphasis contentDark headings |
| 950 | 1A05 #1A052E | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F7F1FD;
--royal-blue-100: #EDDFFB;
--royal-blue-200: #DEC3F8;
--royal-blue-300: #C495F3;
--royal-blue-400: #A65EED;
--royal-blue-500: #8C30E8;
--royal-blue-600: #7016CA;
--royal-blue-700: #5912A1;
--royal-blue-800: #400D73;
--royal-blue-900: #290849;
--royal-blue-950: #1A052E;
}