Color #786d8e
A nearly neutral, gray-leaning medium purple.
Conversions
#786d8e
rgb(120, 109, 142)
hsl(260, 13.1%, 49.2%)
hsv(260, 23.2%, 55.7%)
cmyk(15.5%, 23.2%, 0%, 44.3%)
lab(48.11, 11.29, -16.48)
lch(48.11, 19.98, 304.41)
oklch(55.7%, 0.0519, 299.92)
hwb(260, 42.7%, 44.3%)
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
#737387 · ΔE 6.7
Deuteranopia
#747585 · ΔE 8.6
Tritanopia
#778180 · ΔE 19.4
Achromatopsia
#727272 · ΔE 15.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #786d8e;
bg-[#786d8e]
Related colors
Frequently asked questions
#786d8e (#786d8e) is rgb(120, 109, 142) in RGB.
No, #786d8e 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 #786d8e, or check how it holds up for accessibility.