Color #aa87a1
A muted medium magenta.
Conversions
#aa87a1
rgb(170, 135, 161)
hsl(315.4, 17.1%, 59.8%)
hsv(315.4, 20.6%, 66.7%)
cmyk(0%, 20.6%, 5.3%, 33.3%)
lab(60.29, 17.81, -8.7)
lch(60.29, 19.82, 333.96)
oklch(66.5%, 0.0557, 335.5)
hwb(315.4, 52.9%, 33.3%)
Harmony colors
Accessibility
Black text reads better on this background (6.69:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9c9c9b · ΔE 18.2
Deuteranopia
#9ea19a · ΔE 24
Tritanopia
#a89695 · ΔE 12.4
Achromatopsia
#919191 · ΔE 17.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #aa87a1;
bg-[#aa87a1]
Related colors
Frequently asked questions
#aa87a1 (#aa87a1) is rgb(170, 135, 161) in RGB.
No, #aa87a1 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 #aa87a1, or check how it holds up for accessibility.