Color #9e6997
A muted medium magenta.
Conversions
#9e6997
rgb(158, 105, 151)
hsl(307.9, 21.5%, 51.6%)
hsv(307.9, 33.5%, 62%)
cmyk(0%, 33.5%, 4.4%, 38%)
lab(51.39, 28.76, -16.44)
lch(51.39, 33.13, 330.25)
oklch(59.2%, 0.0926, 331.41)
hwb(307.9, 41.2%, 38%)
Harmony colors
Accessibility
Black text reads better on this background (4.92:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8a8a8e · ΔE 21.3
Deuteranopia
#8d918b · ΔE 29.9
Tritanopia
#9c8684 · ΔE 18.5
Achromatopsia
#7a7a7a · ΔE 21.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9e6997;
bg-[#9e6997]
Related colors
Frequently asked questions
#9e6997 (#9e6997) is rgb(158, 105, 151) in RGB.
No, #9e6997 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 #9e6997, or check how it holds up for accessibility.