Royal Blue
#8C1AFF
PurpleColor Codes
All color formats for development
HEX
#8C1AFFRGB
rgb(140, 26, 255)HSL
hsl(270, 100%, 55%)OKLCH
oklch(0.552 0.287 297.3)CMYK
cmyk(45%, 90%, 0%, 0%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#7E00FC
2#7000E0
3#6200C4
4#5400A8
5#46008C
6#380070
7#2A0054
8#1C0038
9#0E001C
Tints
Lighter variations
1#9830FF
2#A347FF
3#AF5EFF
4#BA75FF
5#C68CFF
6#D1A3FF
7#DDBAFF
8#E8D1FF
9#F4E8FF
Tones
Muted variations
1#8C25F4
2#8C30E8
3#8C3CDD
4#8C47D1
5#8C53C6
6#8C5EBA
7#8C6AAF
8#8C75A3
9#8C8198
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F7F0 #F7F0FF | BackgroundsSubtle highlightsCard backgrounds |
| 100 | EDDB #EDDBFF | Light backgroundsTable row hoverSkeleton loading |
| 200 | DEBD #DEBDFF | Secondary backgroundsInput backgroundsDividers |
| 300 | C48A #C48AFF | BordersInactive statesPlaceholder text |
| 400 | A64D #A64DFF | Disabled statesSecondary iconsMuted text |
| 500 | 8C1A #8C1AFF | Primary brand colorCTAsActive elementsLinks |
| 600 | 7000 #7000E0 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 5900 #5900B3 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 4000 #400080 | Text on light backgroundsHeadingsStrong borders |
| 900 | 2900 #290052 | Primary textHigh emphasis contentDark headings |
| 950 | 1A00 #1A0033 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F7F0FF;
--royal-blue-100: #EDDBFF;
--royal-blue-200: #DEBDFF;
--royal-blue-300: #C48AFF;
--royal-blue-400: #A64DFF;
--royal-blue-500: #8C1AFF;
--royal-blue-600: #7000E0;
--royal-blue-700: #5900B3;
--royal-blue-800: #400080;
--royal-blue-900: #290052;
--royal-blue-950: #1A0033;
}