Royal Blue
#8C1FF9
PurpleColor Codes
All color formats for development
HEX
#8C1FF9RGB
rgb(140, 31, 249)HSL
hsl(270, 95%, 55%)OKLCH
oklch(0.548 0.279 298.2)CMYK
cmyk(44%, 88%, 0%, 2%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#7E06F6
2#7006DB
3#6205BF
4#5404A4
5#460489
6#38036D
7#2A0252
8#1C0137
9#0E011B
Tints
Lighter variations
1#9836FA
2#A34CFA
3#AF62FB
4#BA79FC
5#C68FFC
6#D1A5FD
7#DDBCFD
8#E8D2FE
9#F4E9FE
Tones
Muted variations
1#8C2AEE
2#8C35E3
3#8C40D9
4#8C4BCE
5#8C56C3
6#8C61B8
7#8C6CAD
8#8C76A2
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 | DEBE #DEBEFD | Secondary backgroundsInput backgroundsDividers |
| 300 | C48D #C48DFC | BordersInactive statesPlaceholder text |
| 400 | A651 #A651FB | Disabled statesSecondary iconsMuted text |
| 500 | 8C1F #8C1FF9 | Primary brand colorCTAsActive elementsLinks |
| 600 | 7006 #7006DB | Hover statesFocus ringsPrimary buttons hover |
| 700 | 5904 #5904AE | Active/pressed statesDark mode accentsSecondary text |
| 800 | 4003 #40037C | Text on light backgroundsHeadingsStrong borders |
| 900 | 2902 #290250 | Primary textHigh emphasis contentDark headings |
| 950 | 1A01 #1A0132 | 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: #DEBEFD;
--royal-blue-300: #C48DFC;
--royal-blue-400: #A651FB;
--royal-blue-500: #8C1FF9;
--royal-blue-600: #7006DB;
--royal-blue-700: #5904AE;
--royal-blue-800: #40037C;
--royal-blue-900: #290250;
--royal-blue-950: #1A0132;
}