Color #9a5d8f
A muted medium magenta.
Conversions
#9a5d8f
rgb(154, 93, 143)
hsl(310.8, 24.7%, 48.4%)
hsv(310.8, 39.6%, 60.4%)
cmyk(0%, 39.6%, 7.1%, 39.6%)
lab(47.86, 32.67, -17.13)
lch(47.86, 36.89, 332.33)
oklch(56.4%, 0.1042, 333.68)
hwb(310.8, 36.5%, 39.6%)
Harmony colors
Accessibility
White text reads better on this background (4.84:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#848385 · ΔE 22.9
Deuteranopia
#878b83 · ΔE 32.2
Tritanopia
#987c7a · ΔE 18.8
Achromatopsia
#727272 · ΔE 22.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9a5d8f;
bg-[#9a5d8f]
Related colors
Frequently asked questions
#9a5d8f (#9a5d8f) is rgb(154, 93, 143) in RGB.
No, #9a5d8f 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 #9a5d8f, or check how it holds up for accessibility.