Color #a271ae
A muted medium purple.
Conversions
#a271ae
rgb(162, 113, 174)
hsl(288.2, 27.4%, 56.3%)
hsv(288.2, 35.1%, 68.2%)
cmyk(6.9%, 35.1%, 0%, 31.8%)
lab(54.6, 30.12, -24.88)
lch(54.6, 39.07, 320.44)
oklch(62.1%, 0.1049, 319.6)
hwb(288.2, 44.3%, 31.8%)
Harmony colors
Accessibility
Black text reads better on this background (5.51:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8f8fa2 · ΔE 16.6
Deuteranopia
#92959f · ΔE 20
Tritanopia
#a09795 · ΔE 23.1
Achromatopsia
#838383 · ΔE 22.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a271ae;
bg-[#a271ae]
Related colors
Frequently asked questions
#a271ae (#a271ae) is rgb(162, 113, 174) in RGB.
No, #a271ae 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 #a271ae, or check how it holds up for accessibility.