Color #aa5197
A muted medium magenta.
Conversions
#aa5197
rgb(170, 81, 151)
hsl(312.8, 35.5%, 49.2%)
hsv(312.8, 52.4%, 66.7%)
cmyk(0%, 52.4%, 11.2%, 33.3%)
lab(47.84, 45.65, -21.74)
lch(47.84, 50.56, 334.53)
oklch(56.9%, 0.1451, 336.1)
hwb(312.8, 31.8%, 33.3%)
Harmony colors
Accessibility
White text reads better on this background (4.85:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8c8c8a · ΔE 28.4
Deuteranopia
#919687 · ΔE 39.1
Tritanopia
#a77f7c · ΔE 22.3
Achromatopsia
#717171 · ΔE 24.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #aa5197;
bg-[#aa5197]
Related colors
Frequently asked questions
#aa5197 (#aa5197) is rgb(170, 81, 151) in RGB.
No, #aa5197 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 #aa5197, or check how it holds up for accessibility.