Royal Blue
#8F2CED
PurpleColor Codes
All color formats for development
HEX
#8F2CEDRGB
rgb(143, 44, 237)HSL
hsl(271, 84%, 55%)OKLCH
oklch(0.55 0.26 300.8)CMYK
cmyk(40%, 81%, 0%, 7%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#8214E8
2#7312CE
3#6510B5
4#570D9B
5#480B81
6#3A0967
7#2B074D
8#1D0434
9#0E021A
Tints
Lighter variations
1#9B41EE
2#A656F0
3#B16BF2
4#BC80F4
5#C795F6
6#D2ABF8
7#DEC0F9
8#E9D5FB
9#F4EAFD
Tones
Muted variations
1#8F35E3
2#8F3FD9
3#8E49D0
4#8E52C6
5#8E5CBC
6#8E66B3
7#8D6FA9
8#8D79A0
9#8D8396
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F8F1 #F8F1FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | EEDE #EEDEFC | Light backgroundsTable row hoverSkeleton loading |
| 200 | DFC2 #DFC2FA | Secondary backgroundsInput backgroundsDividers |
| 300 | C693 #C693F6 | BordersInactive statesPlaceholder text |
| 400 | A85B #A85BF1 | Disabled statesSecondary iconsMuted text |
| 500 | 8F2C #8F2CED | Primary brand colorCTAsActive elementsLinks |
| 600 | 7312 #7312CE | Hover statesFocus ringsPrimary buttons hover |
| 700 | 5C0E #5C0EA4 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 420A #420A75 | Text on light backgroundsHeadingsStrong borders |
| 900 | 2A07 #2A074B | 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: #F8F1FE;
--royal-blue-100: #EEDEFC;
--royal-blue-200: #DFC2FA;
--royal-blue-300: #C693F6;
--royal-blue-400: #A85BF1;
--royal-blue-500: #8F2CED;
--royal-blue-600: #7312CE;
--royal-blue-700: #5C0EA4;
--royal-blue-800: #420A75;
--royal-blue-900: #2A074B;
--royal-blue-950: #1A042F;
}