Royal Blue
#8C22F7
PurpleColor Codes
All color formats for development
HEX
#8C22F7RGB
rgb(140, 34, 247)HSL
hsl(270, 93%, 55%)OKLCH
oklch(0.548 0.276 298.4)CMYK
cmyk(43%, 86%, 0%, 3%)Accessibility
WCAG contrast compliance
Tailwind Scale
50-950 scale matching Tailwind CSS naming
Shades
Darker variations
1#7E09F4
2#7008D9
3#6207BD
4#5406A2
5#460587
6#38046C
7#2A0351
8#1C0236
9#0E011B
Tints
Lighter variations
1#9838F8
2#A34EF9
3#AF64F9
4#BA7AFA
5#C690FB
6#D1A6FC
7#DDBDFD
8#E8D3FD
9#F4E9FE
Tones
Muted variations
1#8C2CEC
2#8C37E2
3#8C42D7
4#8C4CCC
5#8C57C2
6#8C62B7
7#8C6CAC
8#8C77A2
9#8C8297
Usage Guidelines
Recommended use cases for each shade level
| Level | Color | Typical Use Cases |
|---|---|---|
| 50 | F7F0 #F7F0FE | BackgroundsSubtle highlightsCard backgrounds |
| 100 | EDDD #EDDDFE | Light backgroundsTable row hoverSkeleton loading |
| 200 | DEBF #DEBFFD | Secondary backgroundsInput backgroundsDividers |
| 300 | C48E #C48EFB | BordersInactive statesPlaceholder text |
| 400 | A653 #A653F9 | Disabled statesSecondary iconsMuted text |
| 500 | 8C22 #8C22F7 | Primary brand colorCTAsActive elementsLinks |
| 600 | 7008 #7008D9 | Hover statesFocus ringsPrimary buttons hover |
| 700 | 5906 #5906AC | Active/pressed statesDark mode accentsSecondary text |
| 800 | 4004 #40047B | Text on light backgroundsHeadingsStrong borders |
| 900 | 2903 #29034F | Primary textHigh emphasis contentDark headings |
| 950 | 1A02 #1A0231 | Maximum contrast textDark mode backgrounds |
Export Code
Copy ready-to-use code for your project
:root {
--royal-blue-50: #F7F0FE;
--royal-blue-100: #EDDDFE;
--royal-blue-200: #DEBFFD;
--royal-blue-300: #C48EFB;
--royal-blue-400: #A653F9;
--royal-blue-500: #8C22F7;
--royal-blue-600: #7008D9;
--royal-blue-700: #5906AC;
--royal-blue-800: #40047B;
--royal-blue-900: #29034F;
--royal-blue-950: #1A0231;
}