#9D4CDF#9D4CDF
#9D4CDF is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.7% C 0.216 H 306.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9D4CDF |
|---|---|
| RGB | rgb(157, 76, 223) |
| HSL | hsl(273, 70%, 59%) |
| HSV | hsv(273, 66%, 87%) |
| CMYK | cmyk(29.6%, 65.9%, 0%, 12.5%) |
| CIE-LAB | lab(49.09, 59.15, -61.73) |
| CIE-LCH | lch(49.09, 85.49, 313.78°) |
| OKLab | oklab(58.7% 0.1275 -0.175) |
| OKLCH | oklch(58.7% 0.216 306.1) |
| XYZ | xyz(29.8055, 17.6650, 71.6372) |
| Luminance | 0.1767 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.47
Purpley
#8756E4
ΔE00 4.47
Lighter Purple
#A55AF4
ΔE00 5.01
Electric Purple
#AA23FF
ΔE00 5.55
Darkorchid
#9932CC
ΔE00 6.07
Bright Violet
#AD0AFD
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D4CDF #8EDF4C
analogous
#534CDF #9D4CDF #DF4CD7
triadic
#9D4CDF #DF9D4C #4CDF9D
tetradic
#9D4CDF #DF534C #8EDF4C #4CD7DF
square
#9D4CDF #DF534C #8EDF4C #4CD7DF
split-complementary
#9D4CDF #D7DF4C #4CDF53
monochromatic
#5F1B96 #7F24CA #9D4CDF #B980E8 #D6B4F2
Accessibility & contrast
On white
4.63
#9D4CDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#9D4CDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9D4CDF
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D4CDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D4CDF | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#2475DC
Tritanopia (blue-blind)
#926C8F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9d4cdf; /* rgb */ color: rgb(157, 76, 223); /* oklch */ color: oklch(58.7% 0.216 306.1);
Tailwind
colors: {
custom: {
50: '#bf83ea',
500: '#9d4cdf',
950: '#000000',
},
}SCSS
$custom: #9d4cdf; $custom-light: #bf83ea; $custom-dark: #000000;
JSON
{
"hex": "#9d4cdf",
"rgb": {
"r": 157,
"g": 76,
"b": 223
},
"hsl": {
"h": 273.061,
"s": 69.668,
"l": 58.627
},
"oklch": {
"l": 0.58698,
"c": 0.21648,
"h": 306.1
},
"luminance": 0.17665
}Semantic roles & 50–950 ramp
primary
#9D4CDF
secondary
#C0E0A6
accent
#EC3B8B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84