Royal Blue
#8227F1
PurpleColor Codes
All color formats for development
HEX
#8227F1RGB
rgb(130, 39, 241)HSL
hsl(267, 88%, 55%)OKLCH
oklch(0.535 0.266 295.9)CMYK
cmyk(46%, 84%, 0%, 5%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#730FED
2#660DD3
3#5A0CB9
4#4D0A9E
5#400884
6#330769
7#26054F
8#1A0335
9#0D021A
Tints
Lighter variations
1#8F3DF3
2#9B52F4
3#A868F5
4#B47EF7
5#C193F8
6#CDA9F9
7#DABEFB
8#E6D4FC
9#F3E9FE
Tones
Muted variations
1#8331E7
2#843BDD
3#8546D3
4#8650C9
5#875ABF
6#8864B5
7#896EAB
8#8A78A0
9#8B8296
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F7F1 #F7F1FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | ECDD #ECDDFD | Light backgroundsTable row hoverSkeleton loading |
| 200 | DBC1 #DBC1FB | Secondary backgroundsInput backgroundsDividers |
| 300 | BF91 #BF91F8 | BordersInactive statesPlaceholder text |
| 400 | 9E57 #9E57F4 | Disabled statesSecondary iconsMuted text |
| 500 | 8227 #8227F1 | Primary brand colorCTAsActive elementsLinks |
| 600 | 660D #660DD3 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 510B #510BA8 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 3A08 #3A0878 | Text on light backgroundsHeadingsStrong borders |
| 900 | 2505 #25054D | Primary textHigh emphasis contentDark headings |
| 950 | 1703 #170330 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F7F1FE;
--royal-blue-100: #ECDDFD;
--royal-blue-200: #DBC1FB;
--royal-blue-300: #BF91F8;
--royal-blue-400: #9E57F4;
--royal-blue-500: #8227F1;
--royal-blue-600: #660DD3;
--royal-blue-700: #510BA8;
--royal-blue-800: #3A0878;
--royal-blue-900: #25054D;
--royal-blue-950: #170330;
}