#9D4FD1#9D4FD1
#9D4FD1 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.1% C 0.198 H 309.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #9D4FD1 |
|---|---|
| RGB | rgb(157, 79, 209) |
| HSL | hsl(276, 59%, 56%) |
| HSV | hsv(276, 62%, 82%) |
| CMYK | cmyk(24.9%, 62.2%, 0%, 18%) |
| CIE-LAB | lab(48.72, 54.56, -54.35) |
| CIE-LCH | lch(48.72, 77.01, 315.11°) |
| OKLab | oklab(58.14% 0.125 -0.1533) |
| OKLCH | oklch(58.14% 0.198 309.2) |
| XYZ | xyz(28.2070, 17.3640, 62.1749) |
| Luminance | 0.1736 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.52
Amethyst
#9B5FC0
ΔE00 4.84
Purpley
#8756E4
ΔE00 5.59
Darkorchid
#9932CC
ΔE00 5.85
Deep Lavender
#8D5EB7
ΔE00 5.89
Lighter Purple
#A55AF4
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D4FD1 #83D14F
analogous
#5C4FD1 #9D4FD1 #D14FC4
triadic
#9D4FD1 #D19D4F #4FD19D
tetradic
#9D4FD1 #D15C4F #83D14F #4FC4D1
square
#9D4FD1 #D15C4F #83D14F #4FC4D1
split-complementary
#9D4FD1 #C4D14F #4FD15C
monochromatic
#5C2283 #7F2FB4 #9D4FD1 #B880DE #D3B0EA
Accessibility & contrast
On white
4.70
#9D4FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#9D4FD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D4FD1
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D4FD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D4FD1 | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A70D5
Deuteranopia (green-blind)
#3C75CE
Tritanopia (blue-blind)
#966989
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9d4fd1; /* rgb */ color: rgb(157, 79, 209); /* oklch */ color: oklch(58.1% 0.198 309.2);
Tailwind
colors: {
custom: {
50: '#be85e0',
500: '#9d4fd1',
950: '#000000',
},
}SCSS
$custom: #9d4fd1; $custom-light: #be85e0; $custom-dark: #000000;
JSON
{
"hex": "#9d4fd1",
"rgb": {
"r": 157,
"g": 79,
"b": 209
},
"hsl": {
"h": 276,
"s": 58.559,
"l": 56.471
},
"oklch": {
"l": 0.58144,
"c": 0.19779,
"h": 309.2
},
"luminance": 0.17364
}Semantic roles & 50–950 ramp
primary
#9D4FD1
secondary
#B9D9A3
accent
#E24684
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83