Color #9c7ba4
A muted medium purple.
Conversions
#9c7ba4
rgb(156, 123, 164)
hsl(288.3, 18.4%, 56.3%)
hsv(288.3, 25%, 64.3%)
cmyk(4.9%, 25%, 0%, 35.7%)
lab(56, 20.32, -17.02)
lch(56, 26.51, 320.05)
oklch(62.9%, 0.0712, 319.62)
hwb(288.3, 48.2%, 35.7%)
Harmony colors
Accessibility
Black text reads better on this background (5.78:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8f8f9b · ΔE 15.2
Deuteranopia
#919399 · ΔE 18.1
Tritanopia
#9b9492 · ΔE 19.1
Achromatopsia
#868686 · ΔE 19.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9c7ba4;
bg-[#9c7ba4]
Related colors
Frequently asked questions
#9c7ba4 (#9c7ba4) is rgb(156, 123, 164) in RGB.
No, #9c7ba4 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 #9c7ba4, or check how it holds up for accessibility.