Royal Blue
#8F2DEB
PurpleColor Codes
All color formats for development
HEX
#8F2DEBRGB
rgb(143, 45, 235)HSL
hsl(271, 83%, 55%)OKLCH
oklch(0.549 0.258 301.1)CMYK
cmyk(39%, 81%, 0%, 8%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#8215E7
2#7313CD
3#6511B4
4#560E9A
5#480C80
6#3A0A67
7#2B074D
8#1D0533
9#0E021A
Tints
Lighter variations
1#9B42ED
2#A657EF
3#B16CF1
4#BC81F3
5#C796F5
6#D2ABF7
7#DEC0F9
8#E9D5FB
9#F4EAFD
Tones
Muted variations
1#8F37E2
2#8F40D8
3#8E4ACF
4#8E53C5
5#8E5DBC
6#8E66B2
7#8D70A9
8#8D799F
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 #DFC2F9 | Secondary backgroundsInput backgroundsDividers |
| 300 | C694 #C694F5 | BordersInactive statesPlaceholder text |
| 400 | A85C #A85CF0 | Disabled statesSecondary iconsMuted text |
| 500 | 8F2D #8F2DEB | Primary brand colorCTAsActive elementsLinks |
| 600 | 7313 #7313CD | Hover statesFocus ringsPrimary buttons hover |
| 700 | 5C0F #5C0FA3 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 420B #420B75 | 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: #DFC2F9;
--royal-blue-300: #C694F5;
--royal-blue-400: #A85CF0;
--royal-blue-500: #8F2DEB;
--royal-blue-600: #7313CD;
--royal-blue-700: #5C0FA3;
--royal-blue-800: #420B75;
--royal-blue-900: #2A074B;
--royal-blue-950: #1A042F;
}