#9D4CD2#9D4CD2
#9D4CD2 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.8% C 0.203 H 309.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9D4CD2 |
|---|---|
| RGB | rgb(157, 76, 210) |
| HSL | hsl(276, 60%, 56%) |
| HSV | hsv(276, 64%, 82%) |
| CMYK | cmyk(25.2%, 63.8%, 0%, 17.6%) |
| CIE-LAB | lab(48.25, 56.23, -55.67) |
| CIE-LCH | lch(48.25, 79.13, 315.29°) |
| OKLab | oklab(57.83% 0.1284 -0.1572) |
| OKLCH | oklch(57.83% 0.203 309.3) |
| XYZ | xyz(28.1196, 16.9906, 62.7585) |
| Luminance | 0.1699 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.73
Darkorchid
#9932CC
ΔE00 5.23
Amethyst
#9B5FC0
ΔE00 5.45
Purpley
#8756E4
ΔE00 5.63
Purply
#983FB2
ΔE00 6.07
Deep Lavender
#8D5EB7
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D4CD2 #81D24C
analogous
#5A4CD2 #9D4CD2 #D24CC4
triadic
#9D4CD2 #D29D4C #4CD29D
tetradic
#9D4CD2 #D25A4C #81D24C #4CC4D2
square
#9D4CD2 #D25A4C #81D24C #4CC4D2
split-complementary
#9D4CD2 #C4D24C #4CD25A
monochromatic
#5C2183 #7E2DB4 #9D4CD2 #B87DDE #D3AEEB
Accessibility & contrast
On white
4.77
#9D4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#9D4CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D4CD2
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D4CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D4CD2 | 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)
#006FD6
Deuteranopia (green-blind)
#3874CF
Tritanopia (blue-blind)
#956788
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9d4cd2; /* rgb */ color: rgb(157, 76, 210); /* oklch */ color: oklch(57.8% 0.203 309.3);
Tailwind
colors: {
custom: {
50: '#be83e0',
500: '#9d4cd2',
950: '#000000',
},
}SCSS
$custom: #9d4cd2; $custom-light: #be83e0; $custom-dark: #000000;
JSON
{
"hex": "#9d4cd2",
"rgb": {
"r": 157,
"g": 76,
"b": 210
},
"hsl": {
"h": 276.269,
"s": 59.821,
"l": 56.078
},
"oklch": {
"l": 0.57826,
"c": 0.20299,
"h": 309.3
},
"luminance": 0.1699
}Semantic roles & 50–950 ramp
primary
#9D4CD2
secondary
#B7D9A1
accent
#E34583
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83