Color #8a71bb
A muted medium purple.
Conversions
#8a71bb
rgb(138, 113, 187)
hsl(260.3, 35.2%, 58.8%)
hsv(260.3, 39.6%, 73.3%)
cmyk(26.2%, 39.6%, 0%, 26.7%)
lab(52.73, 25.61, -35.47)
lch(52.73, 43.75, 305.83)
oklch(60.3%, 0.1126, 298.55)
hwb(260.3, 44.3%, 26.7%)
Harmony colors
Accessibility
Black text reads better on this background (5.16:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8080ad · ΔE 7.8
Deuteranopia
#8183a9 · ΔE 9.5
Tritanopia
#89a09d · ΔE 26.6
Achromatopsia
#7e7e7e · ΔE 23
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a71bb;
bg-[#8a71bb]
Related colors
Frequently asked questions
#8a71bb (#8a71bb) is rgb(138, 113, 187) in RGB.
No, #8a71bb 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 #8a71bb, or check how it holds up for accessibility.