Color #786e87
A nearly neutral, gray-leaning medium purple.
Conversions
#786e87
rgb(120, 110, 135)
hsl(264, 10.2%, 48%)
hsv(264, 18.5%, 52.9%)
cmyk(11.1%, 18.5%, 0%, 47.1%)
lab(48.13, 9.09, -12.31)
lch(48.13, 15.3, 306.44)
oklch(55.6%, 0.0399, 303.33)
hwb(264, 43.1%, 47.1%)
Harmony colors
Accessibility
White text reads better on this background (4.8:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#747482 · ΔE 6.8
Deuteranopia
#747580 · ΔE 8.3
Tritanopia
#787d7c · ΔE 15.7
Achromatopsia
#727272 · ΔE 13
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #786e87;
bg-[#786e87]
Related colors
Frequently asked questions
#786e87 (#786e87) is rgb(120, 110, 135) in RGB.
No, #786e87 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 #786e87, or check how it holds up for accessibility.