Color #a172a9
A muted medium magenta.
Conversions
#a172a9
rgb(161, 114, 169)
hsl(291.3, 24.2%, 55.5%)
hsv(291.3, 32.5%, 66.3%)
cmyk(4.7%, 32.5%, 0%, 33.7%)
lab(54.53, 28.19, -22.11)
lch(54.53, 35.83, 321.89)
oklch(61.9%, 0.0968, 321.54)
hwb(291.3, 44.7%, 33.7%)
Harmony colors
Accessibility
Black text reads better on this background (5.5:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8f8f9e · ΔE 17.3
Deuteranopia
#92959b · ΔE 20.7
Tritanopia
#9f9492 · ΔE 21.6
Achromatopsia
#828282 · ΔE 22.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a172a9;
bg-[#a172a9]
Related colors
Frequently asked questions
#a172a9 (#a172a9) is rgb(161, 114, 169) in RGB.
No, #a172a9 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 #a172a9, or check how it holds up for accessibility.