Royal Blue
#8D52FA
PurpleColor Codes
All color formats for development
HEX
#8D52FARGB
rgb(141, 82, 250)HSL
hsl(261, 94%, 65%)OKLCH
oklch(0.597 0.236 294.2)CMYK
cmyk(44%, 67%, 0%, 2%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#7732F9
2#6212F8
3#5307E1
4#4706C1
5#3C05A1
6#300481
7#240360
8#180240
9#0C0120
Tints
Lighter variations
1#9863FA
2#A374FB
3#AF86FB
4#BA97FC
5#C6A8FC
6#D1BAFD
7#DDCBFD
8#E8DCFE
9#F4EEFE
Tones
Muted variations
1#8F5AF1
2#9263E9
3#946BE0
4#9773D8
5#997CD0
6#9C84C7
7#9E8DBF
8#A195B7
9#A39DAE
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F5F0 #F5F0FF | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E8DC #E8DCFE | Light backgroundsTable row hoverSkeleton loading |
| 200 | D5BF #D5BFFD | Secondary backgroundsInput backgroundsDividers |
| 300 | B48D #B48DFB | BordersInactive statesPlaceholder text |
| 400 | 8D52 #8D52FA | Disabled statesSecondary iconsMuted text |
| 500 | 6C20 #6C20F8 | Primary brand colorCTAsActive elementsLinks |
| 600 | 5107 #5107DA | Hover statesFocus ringsPrimary buttons hover |
| 700 | 4005 #4005AD | Active/pressed statesDark mode accentsSecondary text |
| 800 | 2E04 #2E047C | Text on light backgroundsHeadingsStrong borders |
| 900 | 1D02 #1D024F | Primary textHigh emphasis contentDark headings |
| 950 | 1202 #120231 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F5F0FF;
--royal-blue-100: #E8DCFE;
--royal-blue-200: #D5BFFD;
--royal-blue-300: #B48DFB;
--royal-blue-400: #8D52FA;
--royal-blue-500: #6C20F8;
--royal-blue-600: #5107DA;
--royal-blue-700: #4005AD;
--royal-blue-800: #2E047C;
--royal-blue-900: #1D024F;
--royal-blue-950: #120231;
}