Color #8c8791
A nearly neutral, gray-leaning medium purple.
Conversions
#8c8791
rgb(140, 135, 145)
hsl(270, 4.3%, 54.9%)
hsv(270, 6.9%, 56.9%)
cmyk(3.4%, 6.9%, 0%, 43.1%)
lab(57.02, 3.83, -4.67)
lch(57.02, 6.04, 309.36)
oklch(63.1%, 0.0159, 308.1)
hwb(270, 52.9%, 43.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.99:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8a8a8f · ΔE 3.9
Deuteranopia
#8a8b8e · ΔE 5.3
Tritanopia
#8c8d8c · ΔE 7.4
Achromatopsia
#898989 · ΔE 6.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8c8791;
bg-[#8c8791]
Related colors
Frequently asked questions
#8c8791 (#8c8791) is rgb(140, 135, 145) in RGB.
No, #8c8791 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 #8c8791, or check how it holds up for accessibility.