#9D4CD4#9D4CD4
#9D4CD4 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.0% C 0.205 H 308.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9D4CD4 |
|---|---|
| RGB | rgb(157, 76, 212) |
| HSL | hsl(276, 61%, 56%) |
| HSV | hsv(276, 64%, 83%) |
| CMYK | cmyk(25.9%, 64.2%, 0%, 16.9%) |
| CIE-LAB | lab(48.37, 56.68, -56.61) |
| CIE-LCH | lch(48.37, 80.11, 315.03°) |
| OKLab | oklab(57.96% 0.1283 -0.1599) |
| OKLCH | oklch(57.96% 0.205 308.7) |
| XYZ | xyz(28.3703, 17.0909, 64.0789) |
| Luminance | 0.1709 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.49
Darkorchid
#9932CC
ΔE00 5.32
Purpley
#8756E4
ΔE00 5.42
Amethyst
#9B5FC0
ΔE00 5.60
Lighter Purple
#A55AF4
ΔE00 6.24
Purply
#983FB2
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D4CD4 #83D44C
analogous
#594CD4 #9D4CD4 #D44CC7
triadic
#9D4CD4 #D49D4C #4CD49D
tetradic
#9D4CD4 #D4594C #83D44C #4CC7D4
square
#9D4CD4 #D4594C #83D44C #4CC7D4
split-complementary
#9D4CD4 #C7D44C #4CD459
monochromatic
#5C2086 #7F2CB7 #9D4CD4 #B87DE0 #D3AFEC
Accessibility & contrast
On white
4.75
#9D4CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#9D4CD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D4CD4
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D4CD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D4CD4 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#3574D1
Tritanopia (blue-blind)
#956889
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9d4cd4; /* rgb */ color: rgb(157, 76, 212); /* oklch */ color: oklch(58.0% 0.205 308.7);
Tailwind
colors: {
custom: {
50: '#be83e2',
500: '#9d4cd4',
950: '#000000',
},
}SCSS
$custom: #9d4cd4; $custom-light: #be83e2; $custom-dark: #000000;
JSON
{
"hex": "#9d4cd4",
"rgb": {
"r": 157,
"g": 76,
"b": 212
},
"hsl": {
"h": 275.735,
"s": 61.261,
"l": 56.471
},
"oklch": {
"l": 0.57958,
"c": 0.20505,
"h": 308.7
},
"luminance": 0.1709
}Semantic roles & 50–950 ramp
primary
#9D4CD4
secondary
#B9DAA2
accent
#E44385
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83