#9D4CD1#9D4CD1
#9D4CD1 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.8% C 0.202 H 309.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9D4CD1 |
|---|---|
| RGB | rgb(157, 76, 209) |
| HSL | hsl(277, 59%, 56%) |
| HSV | hsv(277, 64%, 82%) |
| CMYK | cmyk(24.9%, 63.6%, 0%, 18%) |
| CIE-LAB | lab(48.19, 56.01, -55.20) |
| CIE-LCH | lch(48.19, 78.64, 315.42°) |
| OKLab | oklab(57.76% 0.1285 -0.1558) |
| OKLCH | oklch(57.76% 0.202 309.5) |
| XYZ | xyz(27.9954, 16.9409, 62.1044) |
| Luminance | 0.1694 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.85
Darkorchid
#9932CC
ΔE00 5.19
Amethyst
#9B5FC0
ΔE00 5.37
Purpley
#8756E4
ΔE00 5.75
Purply
#983FB2
ΔE00 5.94
Deep Lavender
#8D5EB7
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D4CD1 #80D14C
analogous
#5A4CD1 #9D4CD1 #D14CC3
triadic
#9D4CD1 #D19D4C #4CD19D
tetradic
#9D4CD1 #D15A4C #80D14C #4CC3D1
square
#9D4CD1 #D15A4C #80D14C #4CC3D1
split-complementary
#9D4CD1 #C3D14C #4CD15A
monochromatic
#5C2181 #7E2EB2 #9D4CD1 #B87DDE #D2ADEA
Accessibility & contrast
On white
4.79
#9D4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#9D4CD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D4CD1
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D4CD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D4CD1 | 1.00 | 4.79 | 4.39 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD5
Deuteranopia (green-blind)
#3974CE
Tritanopia (blue-blind)
#966788
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9d4cd1; /* rgb */ color: rgb(157, 76, 209); /* oklch */ color: oklch(57.8% 0.202 309.5);
Tailwind
colors: {
custom: {
50: '#be83e0',
500: '#9d4cd1',
950: '#000000',
},
}SCSS
$custom: #9d4cd1; $custom-light: #be83e0; $custom-dark: #000000;
JSON
{
"hex": "#9d4cd1",
"rgb": {
"r": 157,
"g": 76,
"b": 209
},
"hsl": {
"h": 276.541,
"s": 59.111,
"l": 55.882
},
"oklch": {
"l": 0.57761,
"c": 0.20194,
"h": 309.5
},
"luminance": 0.1694
}Semantic roles & 50–950 ramp
primary
#9D4CD1
secondary
#B6D8A1
accent
#E24683
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83