Color #ac54bc
A moderately saturated medium magenta.
Conversions
#ac54bc
rgb(172, 84, 188)
hsl(290.8, 43.7%, 53.3%)
hsv(290.8, 55.3%, 73.7%)
cmyk(8.5%, 55.3%, 0%, 26.3%)
lab(50.39, 51.46, -39.47)
lch(50.39, 64.85, 322.51)
oklch(59.4%, 0.1751, 321.28)
hwb(290.8, 32.9%, 26.3%)
Harmony colors
Accessibility
Black text reads better on this background (4.75:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8e8eaa · ΔE 21.4
Deuteranopia
#9398a5 · ΔE 24.2
Tritanopia
#a99a96 · ΔE 30.1
Achromatopsia
#787878 · ΔE 26.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ac54bc;
bg-[#ac54bc]
Related colors
Frequently asked questions
#ac54bc (#ac54bc) is rgb(172, 84, 188) in RGB.
No, #ac54bc 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 #ac54bc, or check how it holds up for accessibility.