Color #9b5b87
A muted medium magenta.
Conversions
#9b5b87
rgb(155, 91, 135)
hsl(318.8, 26%, 48.2%)
hsv(318.8, 41.3%, 60.8%)
cmyk(0%, 41.3%, 12.9%, 39.2%)
lab(47.24, 32.7, -13.28)
lch(47.24, 35.29, 337.9)
oklch(55.8%, 0.1018, 339.66)
hwb(318.8, 35.7%, 39.2%)
Harmony colors
Accessibility
White text reads better on this background (4.95:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#84847e · ΔE 28.3
Deuteranopia
#878c7c · ΔE 36
Tritanopia
#997675 · ΔE 16.3
Achromatopsia
#707070 · ΔE 22.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9b5b87;
bg-[#9b5b87]
Related colors
Frequently asked questions
#9b5b87 (#9b5b87) is rgb(155, 91, 135) in RGB.
No, #9b5b87 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #9b5b87, or check how it holds up for accessibility.