Royal Blue
#8032E7
PurpleColor Codes
All color formats for development
HEX
#8032E7RGB
rgb(128, 50, 231)HSL
hsl(266, 79%, 55%)OKLCH
oklch(0.533 0.248 296.2)CMYK
cmyk(45%, 78%, 0%, 9%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#711BE2
2#6418C9
3#5815B0
4#4B1297
5#3F0F7E
6#320C64
7#26094B
8#190632
9#0D0319
Tints
Lighter variations
1#8D46E9
2#9A5BEC
3#A66FEE
4#B384F1
5#C098F3
6#CCADF5
7#D9C1F8
8#E6D6FA
9#F2EAFD
Tones
Muted variations
1#813BDE
2#8344D5
3#844DCC
4#8556C3
5#865FBA
6#8768B1
7#8971A7
8#8A7A9E
9#8B8395
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F7F1 #F7F1FD | BackgroundsSubtle highlightsCard backgrounds |
| 100 | EBDF #EBDFFB | Light backgroundsTable row hoverSkeleton loading |
| 200 | DAC4 #DAC4F8 | Secondary backgroundsInput backgroundsDividers |
| 300 | BE96 #BE96F3 | BordersInactive statesPlaceholder text |
| 400 | 9C5F #9C5FEC | Disabled statesSecondary iconsMuted text |
| 500 | 8032 #8032E7 | Primary brand colorCTAsActive elementsLinks |
| 600 | 6418 #6418C9 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 5013 #5013A0 | Active/pressed statesDark mode accentsSecondary text |
| 800 | 390D #390D72 | Text on light backgroundsHeadingsStrong borders |
| 900 | 2509 #250949 | Primary textHigh emphasis contentDark headings |
| 950 | 1705 #17052E | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F7F1FD;
--royal-blue-100: #EBDFFB;
--royal-blue-200: #DAC4F8;
--royal-blue-300: #BE96F3;
--royal-blue-400: #9C5FEC;
--royal-blue-500: #8032E7;
--royal-blue-600: #6418C9;
--royal-blue-700: #5013A0;
--royal-blue-800: #390D72;
--royal-blue-900: #250949;
--royal-blue-950: #17052E;
}