Color #a171af
A muted medium purple.
Conversions
#a171af
rgb(161, 113, 175)
hsl(286.5, 27.9%, 56.5%)
hsv(286.5, 35.4%, 68.6%)
cmyk(8%, 35.4%, 0%, 31.4%)
lab(54.54, 30, -25.57)
lch(54.54, 39.42, 319.56)
oklch(62%, 0.1055, 318.42)
hwb(286.5, 44.3%, 31.4%)
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
#8f8ea3 · ΔE 15.8
Deuteranopia
#9195a0 · ΔE 19.6
Tritanopia
#9f9896 · ΔE 23.6
Achromatopsia
#828282 · ΔE 22.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a171af;
bg-[#a171af]
Related colors
Frequently asked questions
#a171af (#a171af) is rgb(161, 113, 175) in RGB.
No, #a171af 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 #a171af, or check how it holds up for accessibility.