Color #9d6ea6
A muted medium magenta.
Conversions
#9d6ea6
rgb(157, 110, 166)
hsl(290.4, 23.9%, 54.1%)
hsv(290.4, 33.7%, 65.1%)
cmyk(5.4%, 33.7%, 0%, 34.9%)
lab(53.03, 28.53, -22.71)
lch(53.03, 36.47, 321.48)
oklch(60.7%, 0.0984, 320.94)
hwb(290.4, 43.1%, 34.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.21:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8b8b9b · ΔE 17.1
Deuteranopia
#8e9198 · ΔE 20.6
Tritanopia
#9b918f · ΔE 22.1
Achromatopsia
#7f7f7f · ΔE 22.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9d6ea6;
bg-[#9d6ea6]
Related colors
Frequently asked questions
#9d6ea6 (#9d6ea6) is rgb(157, 110, 166) in RGB.
No, #9d6ea6 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 #9d6ea6, or check how it holds up for accessibility.