Color #87798a
A nearly neutral, gray-leaning medium purple.
Conversions
#87798a
rgb(135, 121, 138)
hsl(289.4, 6.8%, 50.8%)
hsv(289.4, 12.3%, 54.1%)
cmyk(2.2%, 12.3%, 0%, 45.9%)
lab(52.58, 8.67, -7.26)
lch(52.58, 11.31, 320.06)
oklch(59.5%, 0.0303, 320.22)
hwb(289.4, 47.5%, 45.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.13:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#818186 · ΔE 9.1
Deuteranopia
#828385 · ΔE 10.9
Tritanopia
#868382 · ΔE 10.9
Achromatopsia
#7d7d7d · ΔE 11.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #87798a;
bg-[#87798a]
Related colors
Frequently asked questions
#87798a (#87798a) is rgb(135, 121, 138) in RGB.
No, #87798a 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 #87798a, or check how it holds up for accessibility.