Color #8a6ebb
A muted medium purple.
Conversions
#8a6ebb
rgb(138, 110, 187)
hsl(261.8, 36.2%, 58.2%)
hsv(261.8, 41.2%, 73.3%)
cmyk(26.2%, 41.2%, 0%, 26.7%)
lab(52, 27.37, -36.62)
lch(52, 45.72, 306.77)
oklch(59.7%, 0.1176, 299.62)
hwb(261.8, 43.1%, 26.7%)
Harmony colors
Accessibility
Black text reads better on this background (5.03:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7f7fac · ΔE 8.6
Deuteranopia
#8082a9 · ΔE 10
Tritanopia
#89a09d · ΔE 26.9
Achromatopsia
#7c7c7c · ΔE 23.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a6ebb;
bg-[#8a6ebb]
Related colors
Frequently asked questions
#8a6ebb (#8a6ebb) is rgb(138, 110, 187) in RGB.
No, #8a6ebb 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 #8a6ebb, or check how it holds up for accessibility.