Color #9f6dab
A muted medium purple.
Conversions
#9f6dab
rgb(159, 109, 171)
hsl(288.4, 27%, 54.9%)
hsv(288.4, 36.3%, 67.1%)
cmyk(7%, 36.3%, 0%, 32.9%)
lab(53.22, 30.79, -25.3)
lch(53.22, 39.85, 320.59)
oklch(60.9%, 0.1071, 319.69)
hwb(288.4, 42.7%, 32.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.25:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8c8c9f · ΔE 16.9
Deuteranopia
#8f929c · ΔE 20.2
Tritanopia
#9d9492 · ΔE 23.4
Achromatopsia
#7f7f7f · ΔE 22.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9f6dab;
bg-[#9f6dab]
Related colors
Frequently asked questions
#9f6dab (#9f6dab) is rgb(159, 109, 171) in RGB.
No, #9f6dab 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 #9f6dab, or check how it holds up for accessibility.