Color #9a5779
A muted medium magenta.
Conversions
#9a5779
rgb(154, 87, 121)
hsl(329.6, 27.8%, 47.3%)
hsv(329.6, 43.5%, 60.4%)
cmyk(0%, 43.5%, 21.4%, 39.6%)
lab(45.73, 32.25, -7.13)
lch(45.73, 33.03, 347.53)
oklch(54.5%, 0.0982, 349.08)
hwb(329.6, 34.1%, 39.6%)
Harmony colors
Accessibility
White text reads better on this background (5.23:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#828272 · ΔE 32.7
Deuteranopia
#868a70 · ΔE 38
Tritanopia
#986c6b · ΔE 12.9
Achromatopsia
#6c6c6c · ΔE 22.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9a5779;
bg-[#9a5779]
Related colors
Frequently asked questions
#9a5779 (#9a5779) is rgb(154, 87, 121) in RGB.
No, #9a5779 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 #9a5779, or check how it holds up for accessibility.