Color #7e799f
A muted medium blue.
Conversions
#7e799f
rgb(126, 121, 159)
hsl(247.9, 16.5%, 54.9%)
hsv(247.9, 23.9%, 62.4%)
cmyk(20.8%, 23.9%, 0%, 37.6%)
lab(52.52, 10.22, -19.68)
lch(52.52, 22.18, 297.44)
oklch(59.5%, 0.0576, 290.54)
hwb(247.9, 47.5%, 37.6%)
Harmony colors
Accessibility
Black text reads better on this background (5.12:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7c7c97 · ΔE 4.1
Deuteranopia
#7c7d95 · ΔE 5.3
Tritanopia
#7e908f · ΔE 21.1
Achromatopsia
#7d7d7d · ΔE 15.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e799f;
bg-[#7e799f]
Related colors
Frequently asked questions
#7e799f (#7e799f) is rgb(126, 121, 159) in RGB.
No, #7e799f 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 #7e799f, or check how it holds up for accessibility.