Color #9c7bad
A muted medium purple.
Conversions
#9c7bad
rgb(156, 123, 173)
hsl(279.6, 23.4%, 58%)
hsv(279.6, 28.9%, 67.8%)
cmyk(9.8%, 28.9%, 0%, 32.2%)
lab(56.34, 22.21, -21.69)
lch(56.34, 31.04, 315.68)
oklch(63.2%, 0.0822, 313.92)
hwb(279.6, 48.2%, 32.2%)
Harmony colors
Accessibility
Black text reads better on this background (5.85:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8f8fa3 · ΔE 13.4
Deuteranopia
#9193a0 · ΔE 16.4
Tritanopia
#9b9a98 · ΔE 22.7
Achromatopsia
#878787 · ΔE 20.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9c7bad;
bg-[#9c7bad]
Related colors
Frequently asked questions
#9c7bad (#9c7bad) is rgb(156, 123, 173) in RGB.
No, #9c7bad 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 #9c7bad, or check how it holds up for accessibility.