#9E4CD2#9E4CD2
#9E4CD2 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.203 H 309.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9E4CD2 |
|---|---|
| RGB | rgb(158, 76, 210) |
| HSL | hsl(277, 60%, 56%) |
| HSV | hsv(277, 64%, 82%) |
| CMYK | cmyk(24.8%, 63.8%, 0%, 17.6%) |
| CIE-LAB | lab(48.38, 56.46, -55.46) |
| CIE-LCH | lch(48.38, 79.14, 315.51°) |
| OKLab | oklab(57.95% 0.1297 -0.1565) |
| OKLCH | oklch(57.95% 0.203 309.6) |
| XYZ | xyz(28.3156, 17.0917, 62.7676) |
| Luminance | 0.1709 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.66
Darkorchid
#9932CC
ΔE00 5.31
Amethyst
#9B5FC0
ΔE00 5.39
Purpley
#8756E4
ΔE00 5.77
Purply
#983FB2
ΔE00 6.09
Deep Lavender
#8D5EB7
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E4CD2 #80D24C
analogous
#5B4CD2 #9E4CD2 #D24CC3
triadic
#9E4CD2 #D29E4C #4CD29E
tetradic
#9E4CD2 #D25B4C #80D24C #4CC3D2
square
#9E4CD2 #D25B4C #80D24C #4CC3D2
split-complementary
#9E4CD2 #C3D24C #4CD25B
monochromatic
#5D2183 #7F2DB4 #9E4CD2 #B97DDE #D3AEEB
Accessibility & contrast
On white
4.75
#9E4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#9E4CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E4CD2
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E4CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E4CD2 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#3974CF
Tritanopia (blue-blind)
#976788
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9e4cd2; /* rgb */ color: rgb(158, 76, 210); /* oklch */ color: oklch(57.9% 0.203 309.6);
Tailwind
colors: {
custom: {
50: '#be83e0',
500: '#9e4cd2',
950: '#000000',
},
}SCSS
$custom: #9e4cd2; $custom-light: #be83e0; $custom-dark: #000000;
JSON
{
"hex": "#9e4cd2",
"rgb": {
"r": 158,
"g": 76,
"b": 210
},
"hsl": {
"h": 276.716,
"s": 59.821,
"l": 56.078
},
"oklch": {
"l": 0.57946,
"c": 0.20329,
"h": 309.6
},
"luminance": 0.17091
}Semantic roles & 50–950 ramp
primary
#9E4CD2
secondary
#B7D9A1
accent
#E34582
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83