Royal Blue
#8E5FEC
PurpleColor Codes
All color formats for development
HEX
#8E5FECRGB
rgb(142, 95, 236)HSL
hsl(260, 79%, 65%)OKLCH
oklch(0.606 0.203 295)CMYK
cmyk(40%, 60%, 0%, 7%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#7942E9
2#6424E5
3#5518D0
4#4915B2
5#3D1194
6#310E77
7#250A59
8#18073B
9#0C031E
Tints
Lighter variations
1#9A6FEE
2#A57FF0
3#B08FF2
4#BB9FF4
5#C7AFF6
6#D2BFF8
7#DDCFF9
8#E8DFFB
9#F4EFFD
Tones
Muted variations
1#9166E5
2#936DDE
3#9574D7
4#987BD0
5#9A82C9
6#9C8AC2
7#9F91BB
8#A198B4
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 | D5C4 #D5C4F8 | Secondary backgroundsInput backgroundsDividers |
| 300 | B596 #B596F3 | BordersInactive statesPlaceholder text |
| 400 | 8E5F #8E5FEC | Disabled statesSecondary iconsMuted text |
| 500 | 6E32 #6E32E7 | Primary brand colorCTAsActive elementsLinks |
| 600 | 5318 #5318C9 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 4213 #4213A0 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 2F0D #2F0D72 | Text on light backgroundsHeadingsStrong borders |
| 900 | 1E09 #1E0949 | Primary textHigh emphasis contentDark headings |
| 950 | 1305 #13052E | 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: #D5C4F8;
--royal-blue-300: #B596F3;
--royal-blue-400: #8E5FEC;
--royal-blue-500: #6E32E7;
--royal-blue-600: #5318C9;
--royal-blue-700: #4213A0;
--royal-blue-800: #2F0D72;
--royal-blue-900: #1E0949;
--royal-blue-950: #13052E;
}