Royal Blue
#8157F4
PurpleColor Codes
All color formats for development
HEX
#8157F4RGB
rgb(129, 87, 244)HSL
hsl(256, 88%, 65%)OKLCH
oklch(0.588 0.223 290.1)CMYK
cmyk(47%, 64%, 0%, 4%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#6A38F2
2#5219F0
3#440EDA
4#3B0CBB
5#310A9C
6#27087D
7#1D065D
8#14043E
9#0A021F
Tints
Lighter variations
1#8E68F5
2#9A79F6
3#A78AF8
4#B39AF9
5#C0ABFA
6#CDBCFB
7#D9CDFC
8#E6DDFD
9#F2EEFE
Tones
Muted variations
1#855FEC
2#8867E5
3#8C6FDD
4#9077D5
5#937ECD
6#9786C5
7#9B8EBD
8#9E96B5
9#A29EAE
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F4F1 #F4F1FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | E6DD #E6DDFD | Light backgroundsTable row hoverSkeleton loading |
| 200 | D0C1 #D0C1FB | Secondary backgroundsInput backgroundsDividers |
| 300 | AC91 #AC91F8 | BordersInactive statesPlaceholder text |
| 400 | 8157 #8157F4 | Disabled statesSecondary iconsMuted text |
| 500 | 5D27 #5D27F1 | Primary brand colorCTAsActive elementsLinks |
| 600 | 420D #420DD3 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 350B #350BA8 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 2608 #260878 | Text on light backgroundsHeadingsStrong borders |
| 900 | 1805 #18054D | Primary textHigh emphasis contentDark headings |
| 950 | 0F03 #0F0330 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F4F1FE;
--royal-blue-100: #E6DDFD;
--royal-blue-200: #D0C1FB;
--royal-blue-300: #AC91F8;
--royal-blue-400: #8157F4;
--royal-blue-500: #5D27F1;
--royal-blue-600: #420DD3;
--royal-blue-700: #350BA8;
--royal-blue-800: #260878;
--royal-blue-900: #18054D;
--royal-blue-950: #0F0330;
}