Color #786a9d
A muted medium blue.
Conversions
#786a9d
rgb(120, 106, 157)
hsl(256.5, 20.6%, 51.6%)
hsv(256.5, 32.5%, 61.6%)
cmyk(23.6%, 32.5%, 0%, 38.4%)
lab(47.92, 16.73, -25.63)
lch(47.92, 30.61, 303.13)
oklch(55.8%, 0.0791, 296.34)
hwb(256.5, 41.6%, 38.4%)
Harmony colors
Accessibility
White text reads better on this background (4.83:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#727293 · ΔE 6.2
Deuteranopia
#737490 · ΔE 7.9
Tritanopia
#778a88 · ΔE 24.4
Achromatopsia
#727272 · ΔE 19.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #786a9d;
bg-[#786a9d]
Related colors
Frequently asked questions
#786a9d (#786a9d) is rgb(120, 106, 157) in RGB.
No, #786a9d is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #786a9d, or check how it holds up for accessibility.