Royal Blue
#8C35E3
PurpleColor Codes
All color formats for development
HEX
#8C35E3RGB
rgb(140, 53, 227)HSL
hsl(270, 76%, 55%)OKLCH
oklch(0.545 0.243 301.1)CMYK
cmyk(38%, 77%, 0%, 11%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#7E1EDE
2#701BC5
3#6218AD
4#541494
5#46117B
6#380D63
7#2A0A4A
8#1C0731
9#0E0319
Tints
Lighter variations
1#9849E6
2#A35DE9
3#AF72EC
4#BA86EE
5#C69AF1
6#D1AEF4
7#DDC2F7
8#E8D7F9
9#F4EBFC
Tones
Muted variations
1#8C3EDB
2#8C46D2
3#8C4FC9
4#8C58C1
5#8C61B8
6#8C69AF
7#8C72A6
8#8C7B9E
9#8C8495
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F7F2 #F7F2FD | BackgroundsSubtle highlightsCard backgrounds |
| 100 | EDE0 #EDE0FB | Light backgroundsTable row hoverSkeleton loading |
| 200 | DEC5 #DEC5F7 | Secondary backgroundsInput backgroundsDividers |
| 300 | C498 #C498F1 | BordersInactive statesPlaceholder text |
| 400 | A662 #A662EA | Disabled statesSecondary iconsMuted text |
| 500 | 8C35 #8C35E3 | Primary brand colorCTAsActive elementsLinks |
| 600 | 701B #701BC5 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 5915 #59159D | Active/pressed statesDark mode accentsSecondary text |
| 800 | 400F #400F70 | Text on light backgroundsHeadingsStrong borders |
| 900 | 290A #290A48 | Primary textHigh emphasis contentDark headings |
| 950 | 1A06 #1A062D | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F7F2FD;
--royal-blue-100: #EDE0FB;
--royal-blue-200: #DEC5F7;
--royal-blue-300: #C498F1;
--royal-blue-400: #A662EA;
--royal-blue-500: #8C35E3;
--royal-blue-600: #701BC5;
--royal-blue-700: #59159D;
--royal-blue-800: #400F70;
--royal-blue-900: #290A48;
--royal-blue-950: #1A062D;
}