Color #9c6fa6
A muted medium purple.
Conversions
#9c6fa6
rgb(156, 111, 166)
hsl(289.1, 23.6%, 54.3%)
hsv(289.1, 33.1%, 65.1%)
cmyk(6%, 33.1%, 0%, 34.9%)
lab(53.16, 27.63, -22.53)
lch(53.16, 35.65, 320.81)
oklch(60.7%, 0.0959, 320.12)
hwb(289.1, 43.5%, 34.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.24:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8b8a9b · ΔE 16.2
Deuteranopia
#8d9098 · ΔE 20.1
Tritanopia
#9a918f · ΔE 22
Achromatopsia
#7f7f7f · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9c6fa6;
bg-[#9c6fa6]
Related colors
Frequently asked questions
#9c6fa6 (#9c6fa6) is rgb(156, 111, 166) in RGB.
No, #9c6fa6 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 #9c6fa6, or check how it holds up for accessibility.