Royal Blue
#8A52FA
PurpleColor Codes
All color formats for development
HEX
#8A52FARGB
rgb(138, 82, 250)HSL
hsl(260, 94%, 65%)OKLCH
oklch(0.594 0.236 293.2)CMYK
cmyk(45%, 67%, 0%, 2%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#7432F9
2#5E12F8
3#5007E1
4#4406C1
5#3905A1
6#2E0481
7#220360
8#170240
9#0B0120
Tints
Lighter variations
1#9663FA
2#A174FB
3#AD86FB
4#B997FC
5#C4A8FC
6#D0BAFD
7#DCCBFD
8#E8DCFE
9#F3EEFE
Tones
Muted variations
1#8D5AF1
2#8F63E9
3#926BE0
4#9573D8
5#987CD0
6#9B84C7
7#9D8DBF
8#A095B7
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 | D3BF #D3BFFD | Secondary backgroundsInput backgroundsDividers |
| 300 | B28D #B28DFB | BordersInactive statesPlaceholder text |
| 400 | 8A52 #8A52FA | Disabled statesSecondary iconsMuted text |
| 500 | 6820 #6820F8 | Primary brand colorCTAsActive elementsLinks |
| 600 | 4D07 #4D07DA | Hover statesFocus ringsPrimary buttons hover |
| 700 | 3D05 #3D05AD | Active/pressed statesDark mode accentsSecondary text |
| 800 | 2C04 #2C047C | Text on light backgroundsHeadingsStrong borders |
| 900 | 1C02 #1C024F | 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: #D3BFFD;
--royal-blue-300: #B28DFB;
--royal-blue-400: #8A52FA;
--royal-blue-500: #6820F8;
--royal-blue-600: #4D07DA;
--royal-blue-700: #3D05AD;
--royal-blue-800: #2C047C;
--royal-blue-900: #1C024F;
--royal-blue-950: #120231;
}