Color #a172af
A muted medium purple.
Conversions
#a172af
rgb(161, 114, 175)
hsl(286.2, 27.6%, 56.7%)
hsv(286.2, 34.9%, 68.6%)
cmyk(8%, 34.9%, 0%, 31.4%)
lab(54.77, 29.43, -25.21)
lch(54.77, 38.75, 319.42)
oklch(62.2%, 0.1037, 318.28)
hwb(286.2, 44.7%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (5.54:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8f8fa3 · ΔE 16.1
Deuteranopia
#9295a0 · ΔE 19.5
Tritanopia
#9f9896 · ΔE 23.4
Achromatopsia
#838383 · ΔE 22.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a172af;
bg-[#a172af]
Related colors
Frequently asked questions
#a172af (#a172af) is rgb(161, 114, 175) in RGB.
No, #a172af 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 #a172af, or check how it holds up for accessibility.