Royal Blue
#8C5AF2
PurpleColor Codes
All color formats for development
HEX
#8C5AF2RGB
rgb(140, 90, 242)HSL
hsl(260, 85%, 65%)OKLCH
oklch(0.601 0.217 294)CMYK
cmyk(42%, 63%, 0%, 5%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#773BEF
2#621DED
3#5311D7
4#470FB8
5#3B0C99
6#300A7B
7#24075C
8#18053D
9#0C021F
Tints
Lighter variations
1#986AF3
2#A37BF4
3#AF8BF6
4#BA9CF7
5#C6ACF8
6#D1BDFA
7#DDCDFB
8#E8DEFC
9#F4EEFE
Tones
Muted variations
1#8F61EA
2#9269E2
3#9471DB
4#9778D3
5#9980CC
6#9C87C4
7#9E8FBD
8#A197B5
9#A39EAD
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F5F1 #F5F1FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E8DE #E8DEFC | Light backgroundsTable row hoverSkeleton loading |
| 200 | D4C2 #D4C2FA | Secondary backgroundsInput backgroundsDividers |
| 300 | B492 #B492F6 | BordersInactive statesPlaceholder text |
| 400 | 8C5A #8C5AF2 | Disabled statesSecondary iconsMuted text |
| 500 | 6C2B #6C2BEE | Primary brand colorCTAsActive elementsLinks |
| 600 | 5011 #5011D0 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 400D #400DA5 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 2E0A #2E0A76 | Text on light backgroundsHeadingsStrong borders |
| 900 | 1D06 #1D064B | Primary textHigh emphasis contentDark headings |
| 950 | 1204 #12042F | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F5F1FE;
--royal-blue-100: #E8DEFC;
--royal-blue-200: #D4C2FA;
--royal-blue-300: #B492F6;
--royal-blue-400: #8C5AF2;
--royal-blue-500: #6C2BEE;
--royal-blue-600: #5011D0;
--royal-blue-700: #400DA5;
--royal-blue-800: #2E0A76;
--royal-blue-900: #1D064B;
--royal-blue-950: #12042F;
}