Color #aa7fb1
A muted medium magenta.
Conversions
#aa7fb1
rgb(170, 127, 177)
hsl(291.6, 24.3%, 59.6%)
hsv(291.6, 28.2%, 69.4%)
cmyk(4%, 28.2%, 0%, 30.6%)
lab(58.88, 25.44, -19.97)
lch(58.88, 32.34, 321.87)
oklch(65.6%, 0.0874, 321.69)
hwb(291.6, 49.8%, 30.6%)
Harmony colors
Accessibility
Black text reads better on this background (6.38:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9999a7 · ΔE 16.7
Deuteranopia
#9c9fa4 · ΔE 20.1
Tritanopia
#a89e9c · ΔE 20.6
Achromatopsia
#8e8e8e · ΔE 21.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #aa7fb1;
bg-[#aa7fb1]
Related colors
Frequently asked questions
#aa7fb1 (#aa7fb1) is rgb(170, 127, 177) in RGB.
No, #aa7fb1 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 #aa7fb1, or check how it holds up for accessibility.