Color #786a97
A muted medium blue.
Conversions
#786a97
rgb(120, 106, 151)
hsl(258.7, 17.8%, 50.4%)
hsv(258.7, 29.8%, 59.2%)
cmyk(20.5%, 29.8%, 0%, 40.8%)
lab(47.67, 15.25, -22.49)
lch(47.67, 27.17, 304.14)
oklch(55.5%, 0.0703, 298.35)
hwb(258.7, 41.6%, 40.8%)
Harmony colors
Accessibility
White text reads better on this background (4.88:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#72728e · ΔE 6.9
Deuteranopia
#73748b · ΔE 8.8
Tritanopia
#778684 · ΔE 23.2
Achromatopsia
#717171 · ΔE 18.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #786a97;
bg-[#786a97]
Related colors
Frequently asked questions
#786a97 (#786a97) is rgb(120, 106, 151) in RGB.
No, #786a97 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 #786a97, or check how it holds up for accessibility.