#9D5F8D#9D5F8D
#9D5F8D is a mid, moderate pink. Relative luminance 0.173; OKLCH L 57.0% C 0.101 H 337.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9D5F8D |
|---|---|
| RGB | rgb(157, 95, 141) |
| HSL | hsl(315, 25%, 49%) |
| HSV | hsv(315, 39%, 62%) |
| CMYK | cmyk(0%, 39.5%, 10.2%, 38.4%) |
| CIE-LAB | lab(48.61, 32.21, -14.77) |
| CIE-LCH | lch(48.61, 35.44, 335.38°) |
| OKLab | oklab(56.98% 0.0932 -0.0395) |
| OKLCH | oklch(56.98% 0.101 337) |
| XYZ | xyz(22.8045, 17.2768, 27.3277) |
| Luminance | 0.1728 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 2.96
Purpleish
#98568D
ΔE00 3.35
Purplish
#94568C
ΔE00 3.81
Dusky Purple
#895B7B
ΔE00 5.56
Dull Purple
#84597E
ΔE00 6.07
Dusty Purple
#825F87
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D5F8D #5F9D6F
analogous
#8E5F9D #9D5F8D #9D5F6E
triadic
#9D5F8D #8D9D5F #5F8D9D
tetradic
#9D5F8D #9D8E5F #5F9D6F #5F6E9D
square
#9D5F8D #9D8E5F #5F9D6F #5F6E9D
split-complementary
#9D5F8D #6E9D5F #5F9D8E
monochromatic
#513149 #77486B #9D5F8D #B584A8 #CCABC3
Accessibility & contrast
On white
4.71
#9D5F8D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#9D5F8D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D5F8D
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D5F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D5F8D | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#606E8F
Deuteranopia (green-blind)
#70778B
Tritanopia (blue-blind)
#A36170
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9d5f8d; /* rgb */ color: rgb(157, 95, 141); /* oklch */ color: oklch(57.0% 0.101 337.0);
Tailwind
colors: {
custom: {
50: '#bb8eae',
500: '#9d5f8d',
950: '#000000',
},
}SCSS
$custom: #9d5f8d; $custom-light: #bb8eae; $custom-dark: #000000;
JSON
{
"hex": "#9d5f8d",
"rgb": {
"r": 157,
"g": 95,
"b": 141
},
"hsl": {
"h": 315.484,
"s": 24.603,
"l": 49.412
},
"oklch": {
"l": 0.56978,
"c": 0.10128,
"h": 337
},
"luminance": 0.17276
}Semantic roles & 50–950 ramp
primary
#9D5F8D
secondary
#9EBAA5
accent
#C17E67
background
#FBF8FA
surface
#F6F0F4
border
#D0CBCE
text
#120C10
muted
#817D7F