Royal Blue
#8C2CED
PurpleColor Codes
All color formats for development
HEX
#8C2CEDRGB
rgb(140, 44, 237)HSL
hsl(270, 84%, 55%)OKLCH
oklch(0.546 0.26 299.8)CMYK
cmyk(41%, 81%, 0%, 7%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#7E14E8
2#7012CE
3#6210B5
4#540D9B
5#460B81
6#380967
7#2A074D
8#1C0434
9#0E021A
Tints
Lighter variations
1#9841EE
2#A356F0
3#AF6BF2
4#BA80F4
5#C695F6
6#D1ABF8
7#DDC0F9
8#E8D5FB
9#F4EAFD
Tones
Muted variations
1#8C35E3
2#8C3FD9
3#8C49D0
4#8C52C6
5#8C5CBC
6#8C66B3
7#8C6FA9
8#8C79A0
9#8C8396
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F7F1 #F7F1FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | EDDE #EDDEFC | Light backgroundsTable row hoverSkeleton loading |
| 200 | DEC2 #DEC2FA | Secondary backgroundsInput backgroundsDividers |
| 300 | C493 #C493F6 | BordersInactive statesPlaceholder text |
| 400 | A65B #A65BF1 | Disabled statesSecondary iconsMuted text |
| 500 | 8C2C #8C2CED | Primary brand colorCTAsActive elementsLinks |
| 600 | 7012 #7012CE | Hover statesFocus ringsPrimary buttons hover |
| 700 | 590E #590EA4 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 400A #400A75 | Text on light backgroundsHeadingsStrong borders |
| 900 | 2907 #29074B | Primary textHigh emphasis contentDark headings |
| 950 | 1A04 #1A042F | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F7F1FE;
--royal-blue-100: #EDDEFC;
--royal-blue-200: #DEC2FA;
--royal-blue-300: #C493F6;
--royal-blue-400: #A65BF1;
--royal-blue-500: #8C2CED;
--royal-blue-600: #7012CE;
--royal-blue-700: #590EA4;
--royal-blue-800: #400A75;
--royal-blue-900: #29074B;
--royal-blue-950: #1A042F;
}