#9D4DBE#9D4DBE
#9D4DBE is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.7% C 0.181 H 314.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9D4DBE |
|---|---|
| RGB | rgb(157, 77, 190) |
| HSL | hsl(282, 47%, 52%) |
| HSV | hsv(282, 59%, 75%) |
| CMYK | cmyk(17.4%, 59.5%, 0%, 25.5%) |
| CIE-LAB | lab(47.23, 51.42, -45.77) |
| CIE-LCH | lch(47.23, 68.84, 318.33°) |
| OKLab | oklab(56.7% 0.1275 -0.1282) |
| OKLCH | oklch(56.7% 0.181 314.9) |
| XYZ | xyz(25.8513, 16.1944, 50.4693) |
| Luminance | 0.1619 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.85
Amethyst
#9B5FC0
ΔE00 4.55
Deep Lavender
#8D5EB7
ΔE00 5.18
Medium Purple
#9E43A2
ΔE00 5.62
Darkorchid
#9932CC
ΔE00 5.76
Ugly Purple
#A442A0
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D4DBE #6EBE4D
analogous
#654DBE #9D4DBE #BE4DA6
triadic
#9D4DBE #BE9D4D #4DBE9D
tetradic
#9D4DBE #BE654D #6EBE4D #4DA6BE
square
#9D4DBE #BE654D #6EBE4D #4DA6BE
split-complementary
#9D4DBE #A6BE4D #4DBE65
monochromatic
#56276A #7B3797 #9D4DBE #B67ACE #CEA7DF
Accessibility & contrast
On white
4.95
#9D4DBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#9D4DBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D4DBE
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D4DBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D4DBE | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B6BC2
Deuteranopia (green-blind)
#4B72BB
Tritanopia (blue-blind)
#9B617E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9d4dbe; /* rgb */ color: rgb(157, 77, 190); /* oklch */ color: oklch(56.7% 0.181 314.9);
Tailwind
colors: {
custom: {
50: '#bd83d2',
500: '#9d4dbe',
950: '#000000',
},
}SCSS
$custom: #9d4dbe; $custom-light: #bd83d2; $custom-dark: #000000;
JSON
{
"hex": "#9d4dbe",
"rgb": {
"r": 157,
"g": 77,
"b": 190
},
"hsl": {
"h": 282.478,
"s": 46.502,
"l": 52.353
},
"oklch": {
"l": 0.56702,
"c": 0.18082,
"h": 314.9
},
"luminance": 0.16194
}Semantic roles & 50–950 ramp
primary
#9D4DBE
secondary
#A9CC9B
accent
#D65278
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82