Color #ac7ba7
A muted medium magenta.
Conversions
#ac7ba7
rgb(172, 123, 167)
hsl(306.1, 22.8%, 57.8%)
hsv(306.1, 28.5%, 67.5%)
cmyk(0%, 28.5%, 2.9%, 32.5%)
lab(57.78, 26.43, -15.89)
lch(57.78, 30.84, 328.99)
oklch(64.6%, 0.0857, 330.02)
hwb(306.1, 48.2%, 32.5%)
Harmony colors
Accessibility
Black text reads better on this background (6.15:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#99999e · ΔE 20
Deuteranopia
#9c9f9b · ΔE 27
Tritanopia
#aa9694 · ΔE 17.9
Achromatopsia
#8b8b8b · ΔE 21.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ac7ba7;
bg-[#ac7ba7]
Related colors
Frequently asked questions
#ac7ba7 (#ac7ba7) is rgb(172, 123, 167) in RGB.
No, #ac7ba7 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 #ac7ba7, or check how it holds up for accessibility.