Color #a27eb2
A muted medium purple.
Conversions
#a27eb2
rgb(162, 126, 178)
hsl(281.5, 25.2%, 59.6%)
hsv(281.5, 29.2%, 69.8%)
cmyk(9%, 29.2%, 0%, 30.2%)
lab(57.86, 23.54, -22.17)
lch(57.86, 32.34, 316.72)
oklch(64.6%, 0.0858, 315.19)
hwb(281.5, 49.4%, 30.2%)
Harmony colors
Accessibility
Black text reads better on this background (6.16:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9493a7 · ΔE 13.7
Deuteranopia
#9698a5 · ΔE 16.9
Tritanopia
#a09e9c · ΔE 22.6
Achromatopsia
#8b8b8b · ΔE 20.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a27eb2;
bg-[#a27eb2]
Related colors
Frequently asked questions
#a27eb2 (#a27eb2) is rgb(162, 126, 178) in RGB.
No, #a27eb2 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 #a27eb2, or check how it holds up for accessibility.