Color #786ca1
A muted medium blue.
Conversions
#786ca1
rgb(120, 108, 161)
hsl(253.6, 22%, 52.7%)
hsv(253.6, 32.9%, 63.1%)
cmyk(25.5%, 32.9%, 0%, 36.9%)
lab(48.62, 16.54, -26.9)
lch(48.62, 31.58, 301.59)
oklch(56.4%, 0.0816, 294.02)
hwb(253.6, 42.4%, 36.9%)
Harmony colors
Accessibility
White text reads better on this background (4.71:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#737396 · ΔE 5.6
Deuteranopia
#747594 · ΔE 6.9
Tritanopia
#778d8b · ΔE 24.8
Achromatopsia
#737373 · ΔE 19.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #786ca1;
bg-[#786ca1]
Related colors
Frequently asked questions
#786ca1 (#786ca1) is rgb(120, 108, 161) in RGB.
No, #786ca1 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 #786ca1, or check how it holds up for accessibility.