Royal Blue
#8C2DEB
PurpleColor Codes
All color formats for development
HEX
#8C2DEBRGB
rgb(140, 45, 235)HSL
hsl(270, 83%, 55%)OKLCH
oklch(0.545 0.257 300.1)CMYK
cmyk(40%, 81%, 0%, 8%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#7E15E7
2#7013CD
3#6211B4
4#540E9A
5#460C80
6#380A67
7#2A074D
8#1C0533
9#0E021A
Tints
Lighter variations
1#9842ED
2#A357EF
3#AF6CF1
4#BA81F3
5#C696F5
6#D1ABF7
7#DDC0F9
8#E8D5FB
9#F4EAFD
Tones
Muted variations
1#8C37E2
2#8C40D8
3#8C4ACF
4#8C53C5
5#8C5DBC
6#8C66B2
7#8C70A9
8#8C799F
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 #DEC2F9 | Secondary backgroundsInput backgroundsDividers |
| 300 | C494 #C494F5 | BordersInactive statesPlaceholder text |
| 400 | A65C #A65CF0 | Disabled statesSecondary iconsMuted text |
| 500 | 8C2D #8C2DEB | Primary brand colorCTAsActive elementsLinks |
| 600 | 7013 #7013CD | Hover statesFocus ringsPrimary buttons hover |
| 700 | 590F #590FA3 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 400B #400B75 | 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: #DEC2F9;
--royal-blue-300: #C494F5;
--royal-blue-400: #A65CF0;
--royal-blue-500: #8C2DEB;
--royal-blue-600: #7013CD;
--royal-blue-700: #590FA3;
--royal-blue-800: #400B75;
--royal-blue-900: #29074B;
--royal-blue-950: #1A042F;
}