Color #ac7fa1
A muted medium magenta.
Conversions
#ac7fa1
rgb(172, 127, 161)
hsl(314.7, 21.3%, 58.6%)
hsv(314.7, 26.2%, 67.5%)
cmyk(0%, 26.2%, 6.4%, 32.5%)
lab(58.53, 23.05, -11.31)
lch(58.53, 25.68, 333.86)
oklch(65.1%, 0.0724, 335.45)
hwb(314.7, 49.8%, 32.5%)
Harmony colors
Accessibility
Black text reads better on this background (6.3:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9b9a9a · ΔE 19.8
Deuteranopia
#9da098 · ΔE 27.6
Tritanopia
#aa9492 · ΔE 15
Achromatopsia
#8d8d8d · ΔE 19.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ac7fa1;
bg-[#ac7fa1]
Related colors
Frequently asked questions
#ac7fa1 (#ac7fa1) is rgb(172, 127, 161) in RGB.
No, #ac7fa1 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 #ac7fa1, or check how it holds up for accessibility.