#9D4CDD#9D4CDD
#9D4CDD is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.6% C 0.214 H 306.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9D4CDD |
|---|---|
| RGB | rgb(157, 76, 221) |
| HSL | hsl(274, 68%, 58%) |
| HSV | hsv(274, 66%, 87%) |
| CMYK | cmyk(29%, 65.6%, 0%, 13.3%) |
| CIE-LAB | lab(48.96, 58.69, -60.81) |
| CIE-LCH | lch(48.96, 84.51, 313.99°) |
| OKLab | oklab(58.56% 0.1276 -0.1723) |
| OKLCH | oklch(58.56% 0.214 306.5) |
| XYZ | xyz(29.5374, 17.5577, 70.2255) |
| Luminance | 0.1756 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.61
Purpley
#8756E4
ΔE00 4.61
Lighter Purple
#A55AF4
ΔE00 5.21
Electric Purple
#AA23FF
ΔE00 5.70
Darkorchid
#9932CC
ΔE00 5.91
Amethyst
#9B5FC0
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D4CDD #8CDD4C
analogous
#544CDD #9D4CDD #DD4CD5
triadic
#9D4CDD #DD9D4C #4CDD9D
tetradic
#9D4CDD #DD544C #8CDD4C #4CD5DD
square
#9D4CDD #DD544C #8CDD4C #4CD5DD
split-complementary
#9D4CDD #D5DD4C #4CDD54
monochromatic
#5E1C93 #7F26C6 #9D4CDD #B97FE7 #D5B3F1
Accessibility & contrast
On white
4.65
#9D4CDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#9D4CDD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9D4CDD
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D4CDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D4CDD | 1.00 | 4.65 | 4.51 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#2875DA
Tritanopia (blue-blind)
#926B8E
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9d4cdd; /* rgb */ color: rgb(157, 76, 221); /* oklch */ color: oklch(58.6% 0.214 306.5);
Tailwind
colors: {
custom: {
50: '#be83e8',
500: '#9d4cdd',
950: '#000000',
},
}SCSS
$custom: #9d4cdd; $custom-light: #be83e8; $custom-dark: #000000;
JSON
{
"hex": "#9d4cdd",
"rgb": {
"r": 157,
"g": 76,
"b": 221
},
"hsl": {
"h": 273.517,
"s": 68.075,
"l": 58.235
},
"oklch": {
"l": 0.58561,
"c": 0.2144,
"h": 306.5
},
"luminance": 0.17557
}Semantic roles & 50–950 ramp
primary
#9D4CDD
secondary
#BFDFA6
accent
#EB3D8A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84