#9D4DCD#9D4DCD
#9D4DCD is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.6% C 0.196 H 310.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9D4DCD |
|---|---|
| RGB | rgb(157, 77, 205) |
| HSL | hsl(278, 56%, 55%) |
| HSV | hsv(278, 62%, 80%) |
| CMYK | cmyk(23.4%, 62.4%, 0%, 19.6%) |
| CIE-LAB | lab(48.11, 54.65, -53.02) |
| CIE-LCH | lch(48.11, 76.14, 315.87°) |
| OKLab | oklab(57.63% 0.1275 -0.1494) |
| OKLCH | oklch(57.63% 0.196 310.5) |
| XYZ | xyz(27.5759, 16.8842, 59.5521) |
| Luminance | 0.1688 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.26
Amethyst
#9B5FC0
ΔE00 4.92
Darkorchid
#9932CC
ΔE00 5.31
Purply
#983FB2
ΔE00 5.54
Deep Lavender
#8D5EB7
ΔE00 5.82
Purpley
#8756E4
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D4DCD #7DCD4D
analogous
#5D4DCD #9D4DCD #CD4DBD
triadic
#9D4DCD #CD9D4D #4DCD9D
tetradic
#9D4DCD #CD5D4D #7DCD4D #4DBDCD
square
#9D4DCD #CD5D4D #7DCD4D #4DBDCD
split-complementary
#9D4DCD #BDCD4D #4DCD5D
monochromatic
#5B237D #7E30AC #9D4DCD #B77DDA #D2ADE8
Accessibility & contrast
On white
4.80
#9D4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#9D4DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D4DCD
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D4DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D4DCD | 1.00 | 4.80 | 4.38 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E6FD1
Deuteranopia (green-blind)
#3E74CA
Tritanopia (blue-blind)
#976686
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9d4dcd; /* rgb */ color: rgb(157, 77, 205); /* oklch */ color: oklch(57.6% 0.196 310.5);
Tailwind
colors: {
custom: {
50: '#bd83dd',
500: '#9d4dcd',
950: '#000000',
},
}SCSS
$custom: #9d4dcd; $custom-light: #bd83dd; $custom-dark: #000000;
JSON
{
"hex": "#9d4dcd",
"rgb": {
"r": 157,
"g": 77,
"b": 205
},
"hsl": {
"h": 277.5,
"s": 56.14,
"l": 55.294
},
"oklch": {
"l": 0.5763,
"c": 0.1964,
"h": 310.5
},
"luminance": 0.16884
}Semantic roles & 50–950 ramp
primary
#9D4DCD
secondary
#B4D6A0
accent
#DF4881
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83