Color #ac7db1
A muted medium magenta.
Conversions
#ac7db1
rgb(172, 125, 177)
hsl(294.2, 25%, 59.2%)
hsv(294.2, 29.4%, 69.4%)
cmyk(2.8%, 29.4%, 0%, 30.6%)
lab(58.61, 27.24, -20.35)
lch(58.61, 34, 323.24)
oklch(65.4%, 0.0923, 323.28)
hwb(294.2, 49%, 30.6%)
Harmony colors
Accessibility
Black text reads better on this background (6.32:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9a9aa6 · ΔE 18
Deuteranopia
#9ca0a4 · ΔE 20
Tritanopia
#aa9d9b · ΔE 20.5
Achromatopsia
#8d8d8d · ΔE 21.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ac7db1;
bg-[#ac7db1]
Related colors
Frequently asked questions
#ac7db1 (#ac7db1) is rgb(172, 125, 177) in RGB.
No, #ac7db1 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 #ac7db1, or check how it holds up for accessibility.