Color #796a7c
A nearly neutral, gray-leaning medium magenta.
Conversions
#796a7c
rgb(121, 106, 124)
hsl(290, 7.8%, 45.1%)
hsv(290, 14.5%, 48.6%)
cmyk(2.4%, 14.5%, 0%, 51.4%)
lab(46.75, 9.45, -7.81)
lch(46.75, 12.26, 320.43)
oklch(54.4%, 0.033, 320.66)
hwb(290, 41.6%, 51.4%)
Harmony colors
Accessibility
White text reads better on this background (5.04:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#737378 · ΔE 9.9
Deuteranopia
#747577 · ΔE 11.7
Tritanopia
#787574 · ΔE 11.6
Achromatopsia
#6f6f6f · ΔE 11.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #796a7c;
bg-[#796a7c]
Related colors
Frequently asked questions
#796a7c (#796a7c) is rgb(121, 106, 124) in RGB.
No, #796a7c 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 #796a7c, or check how it holds up for accessibility.