#9E4CD0#9E4CD0
#9E4CD0 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.8% C 0.201 H 310.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9E4CD0 |
|---|---|
| RGB | rgb(158, 76, 208) |
| HSL | hsl(277, 58%, 56%) |
| HSV | hsv(277, 63%, 82%) |
| CMYK | cmyk(24%, 63.5%, 0%, 18.4%) |
| CIE-LAB | lab(48.25, 56.02, -54.51) |
| CIE-LCH | lch(48.25, 78.17, 315.78°) |
| OKLab | oklab(57.82% 0.1298 -0.1538) |
| OKLCH | oklch(57.82% 0.201 310.2) |
| XYZ | xyz(28.0680, 16.9926, 61.4636) |
| Luminance | 0.1699 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.92
Darkorchid
#9932CC
ΔE00 5.24
Amethyst
#9B5FC0
ΔE00 5.25
Purply
#983FB2
ΔE00 5.82
Purpley
#8756E4
ΔE00 6.00
Deep Lavender
#8D5EB7
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E4CD0 #7ED04C
analogous
#5C4CD0 #9E4CD0 #D04CC0
triadic
#9E4CD0 #D09E4C #4CD09E
tetradic
#9E4CD0 #D05C4C #7ED04C #4CC0D0
square
#9E4CD0 #D05C4C #7ED04C #4CC0D0
split-complementary
#9E4CD0 #C0D04C #4CD05C
monochromatic
#5C2280 #7F2EB0 #9E4CD0 #B87CDD #D3ADE9
Accessibility & contrast
On white
4.77
#9E4CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#9E4CD0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E4CD0
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E4CD0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E4CD0 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD4
Deuteranopia (green-blind)
#3B74CD
Tritanopia (blue-blind)
#976687
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9e4cd0; /* rgb */ color: rgb(158, 76, 208); /* oklch */ color: oklch(57.8% 0.201 310.2);
Tailwind
colors: {
custom: {
50: '#be83df',
500: '#9e4cd0',
950: '#000000',
},
}SCSS
$custom: #9e4cd0; $custom-light: #be83df; $custom-dark: #000000;
JSON
{
"hex": "#9e4cd0",
"rgb": {
"r": 158,
"g": 76,
"b": 208
},
"hsl": {
"h": 277.273,
"s": 58.407,
"l": 55.686
},
"oklch": {
"l": 0.57816,
"c": 0.20122,
"h": 310.2
},
"luminance": 0.16992
}Semantic roles & 50–950 ramp
primary
#9E4CD0
secondary
#B5D7A0
accent
#E24681
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83