Color #786c8c
A nearly neutral, gray-leaning medium purple.
Conversions
#786c8c
rgb(120, 108, 140)
hsl(262.5, 12.9%, 48.6%)
hsv(262.5, 22.9%, 54.9%)
cmyk(14.3%, 22.9%, 0%, 45.1%)
lab(47.77, 11.43, -15.82)
lch(47.77, 19.52, 305.85)
oklch(55.4%, 0.0508, 301.87)
hwb(262.5, 42.4%, 45.1%)
Harmony colors
Accessibility
White text reads better on this background (4.86:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#737385 · ΔE 7.5
Deuteranopia
#747583 · ΔE 9.4
Tritanopia
#777f7e · ΔE 18.8
Achromatopsia
#717171 · ΔE 15.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #786c8c;
bg-[#786c8c]
Related colors
Frequently asked questions
#786c8c (#786c8c) is rgb(120, 108, 140) in RGB.
No, #786c8c 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 #786c8c, or check how it holds up for accessibility.