Color #7e6da4
A muted medium blue.
Conversions
#7e6da4
rgb(126, 109, 164)
hsl(258.5, 23.2%, 53.5%)
hsv(258.5, 33.5%, 64.3%)
cmyk(23.2%, 33.5%, 0%, 35.7%)
lab(49.56, 18.59, -27.16)
lch(49.56, 32.91, 304.39)
oklch(57.2%, 0.0851, 297.89)
hwb(258.5, 42.7%, 35.7%)
Harmony colors
Accessibility
Black text reads better on this background (4.61:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#777799 · ΔE 6.9
Deuteranopia
#787996 · ΔE 8.6
Tritanopia
#7d8f8d · ΔE 24.5
Achromatopsia
#767676 · ΔE 20.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e6da4;
bg-[#7e6da4]
Related colors
Frequently asked questions
#7e6da4 (#7e6da4) is rgb(126, 109, 164) in RGB.
No, #7e6da4 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 #7e6da4, or check how it holds up for accessibility.