Royal Blue
#8C2BEE
PurpleColor Codes
All color formats for development
HEX
#8C2BEERGB
rgb(140, 43, 238)HSL
hsl(270, 85%, 55%)OKLCH
oklch(0.546 0.262 299.6)CMYK
cmyk(41%, 82%, 0%, 7%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#7E13EA
2#7011D0
3#620FB6
4#540D9C
5#460B82
6#380868
7#2A064E
8#1C0434
9#0E021A
Tints
Lighter variations
1#9840F0
2#A355F1
3#AF6AF3
4#BA80F5
5#C695F6
6#D1AAF8
7#DDBFFA
8#E8D5FC
9#F4EAFD
Tones
Muted variations
1#8C34E4
2#8C3EDA
3#8C48D1
4#8C52C7
5#8C5BBD
6#8C65B3
7#8C6FAA
8#8C79A0
9#8C8296
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 | C492 #C492F6 | BordersInactive statesPlaceholder text |
| 400 | A65A #A65AF2 | Disabled statesSecondary iconsMuted text |
| 500 | 8C2B #8C2BEE | Primary brand colorCTAsActive elementsLinks |
| 600 | 7011 #7011D0 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 590D #590DA5 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 400A #400A76 | Text on light backgroundsHeadingsStrong borders |
| 900 | 2906 #29064B | 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: #C492F6;
--royal-blue-400: #A65AF2;
--royal-blue-500: #8C2BEE;
--royal-blue-600: #7011D0;
--royal-blue-700: #590DA5;
--royal-blue-800: #400A76;
--royal-blue-900: #29064B;
--royal-blue-950: #1A042F;
}