Color #786a8d
A nearly neutral, gray-leaning medium purple.
Conversions
#786a8d
rgb(120, 106, 141)
hsl(264, 14.2%, 48.4%)
hsv(264, 24.8%, 55.3%)
cmyk(14.9%, 24.8%, 0%, 44.7%)
lab(47.27, 12.86, -17.18)
lch(47.27, 21.46, 306.82)
oklch(55%, 0.0558, 302.86)
hwb(264, 41.6%, 44.7%)
Harmony colors
Accessibility
White text reads better on this background (4.95:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#727286 · ΔE 7.9
Deuteranopia
#737484 · ΔE 9.7
Tritanopia
#777f7e · ΔE 19.7
Achromatopsia
#707070 · ΔE 16.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #786a8d;
bg-[#786a8d]
Related colors
Frequently asked questions
#786a8d (#786a8d) is rgb(120, 106, 141) in RGB.
No, #786a8d 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 #786a8d, or check how it holds up for accessibility.