Color #9a5388
A muted medium magenta.
Conversions
#9a5388
rgb(154, 83, 136)
hsl(315.2, 30%, 46.5%)
hsv(315.2, 46.1%, 60.4%)
cmyk(0%, 46.1%, 11.7%, 39.6%)
lab(45.41, 36.93, -16.68)
lch(45.41, 40.52, 335.69)
oklch(54.4%, 0.1164, 337.36)
hwb(315.2, 32.5%, 39.6%)
Harmony colors
Accessibility
White text reads better on this background (5.29:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#81817e · ΔE 27.4
Deuteranopia
#85897b · ΔE 36.1
Tritanopia
#977573 · ΔE 19
Achromatopsia
#6b6b6b · ΔE 23.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9a5388;
bg-[#9a5388]
Related colors
Frequently asked questions
#9a5388 (#9a5388) is rgb(154, 83, 136) in RGB.
No, #9a5388 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 #9a5388, or check how it holds up for accessibility.