Royal Blue
#8C5EED
PurpleColor Codes
All color formats for development
HEX
#8C5EEDRGB
rgb(140, 94, 237)HSL
hsl(259, 80%, 65%)OKLCH
oklch(0.603 0.206 294.2)CMYK
cmyk(41%, 60%, 0%, 7%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#7641EA
2#6123E7
3#5217D1
4#4614B3
5#3B1195
6#2F0D77
7#230A5A
8#17073C
9#0C031E
Tints
Lighter variations
1#976EEF
2#A37EF1
3#AE8FF3
4#BA9FF4
5#C5AFF6
6#D1BFF8
7#DCCFFA
8#E8DFFB
9#F3EFFD
Tones
Muted variations
1#8E65E6
2#916DDF
3#9374D8
4#967BD1
5#9982C9
6#9B89C2
7#9E90BB
8#A197B4
9#A39FAD
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F5F1 #F5F1FD | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E8DF #E8DFFB | Light backgroundsTable row hoverSkeleton loading |
| 200 | D4C3 #D4C3F8 | Secondary backgroundsInput backgroundsDividers |
| 300 | B395 #B395F3 | BordersInactive statesPlaceholder text |
| 400 | 8C5E #8C5EED | Disabled statesSecondary iconsMuted text |
| 500 | 6B30 #6B30E8 | Primary brand colorCTAsActive elementsLinks |
| 600 | 4F16 #4F16CA | Hover statesFocus ringsPrimary buttons hover |
| 700 | 3F12 #3F12A1 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 2D0D #2D0D73 | Text on light backgroundsHeadingsStrong borders |
| 900 | 1D08 #1D0849 | Primary textHigh emphasis contentDark headings |
| 950 | 1205 #12052E | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F5F1FD;
--royal-blue-100: #E8DFFB;
--royal-blue-200: #D4C3F8;
--royal-blue-300: #B395F3;
--royal-blue-400: #8C5EED;
--royal-blue-500: #6B30E8;
--royal-blue-600: #4F16CA;
--royal-blue-700: #3F12A1;
--royal-blue-800: #2D0D73;
--royal-blue-900: #1D0849;
--royal-blue-950: #12052E;
}