#9C4DE8#9C4DE8
#9C4DE8 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.3% C 0.224 H 303.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9C4DE8 |
|---|---|
| RGB | rgb(156, 77, 232) |
| HSL | hsl(271, 77%, 61%) |
| HSV | hsv(271, 67%, 91%) |
| CMYK | cmyk(32.8%, 66.8%, 0%, 9%) |
| CIE-LAB | lab(49.74, 60.54, -65.77) |
| CIE-LCH | lch(49.74, 89.39, 312.63°) |
| OKLab | oklab(59.33% 0.1241 -0.1869) |
| OKLCH | oklch(59.33% 0.224 303.6) |
| XYZ | xyz(30.9263, 18.2019, 78.2123) |
| Luminance | 0.1820 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.25
Purpley
#8756E4
ΔE00 3.89
Lighter Purple
#A55AF4
ΔE00 4.12
Electric Purple
#AA23FF
ΔE00 5.20
Neon Purple
#BC13FE
ΔE00 6.25
Bright Violet
#AD0AFD
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C4DE8 #99E84D
analogous
#4F4DE8 #9C4DE8 #E84DE6
triadic
#9C4DE8 #E89C4D #4DE89C
tetradic
#9C4DE8 #E84F4D #99E84D #4DE6E8
square
#9C4DE8 #E84F4D #99E84D #4DE6E8
split-complementary
#9C4DE8 #E6E84D #4DE84F
monochromatic
#5F15A5 #7E1CDB #9C4DE8 #BA83EF #D8B9F6
Accessibility & contrast
On white
4.53
#9C4DE8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#9C4DE8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C4DE8
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C4DE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C4DE8 | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#0776E5
Tritanopia (blue-blind)
#8D7094
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9c4de8; /* rgb */ color: rgb(156, 77, 232); /* oklch */ color: oklch(59.3% 0.224 303.6);
Tailwind
colors: {
custom: {
50: '#be84f0',
500: '#9c4de8',
950: '#000000',
},
}SCSS
$custom: #9c4de8; $custom-light: #be84f0; $custom-dark: #000000;
JSON
{
"hex": "#9c4de8",
"rgb": {
"r": 156,
"g": 77,
"b": 232
},
"hsl": {
"h": 270.581,
"s": 77.114,
"l": 60.588
},
"oklch": {
"l": 0.59332,
"c": 0.22437,
"h": 303.6
},
"luminance": 0.18202
}Semantic roles & 50–950 ramp
primary
#9C4DE8
secondary
#C8E6AB
accent
#D90C71
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85