Color #796d7f
A nearly neutral, gray-leaning medium purple.
Conversions
#796d7f
rgb(121, 109, 127)
hsl(280, 7.6%, 46.3%)
hsv(280, 14.2%, 49.8%)
cmyk(4.7%, 14.2%, 0%, 50.2%)
lab(47.67, 8.29, -8.22)
lch(47.67, 11.67, 315.24)
oklch(55.2%, 0.031, 314.48)
hwb(280, 42.7%, 50.2%)
Harmony colors
Accessibility
White text reads better on this background (4.88:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#74747b · ΔE 8.1
Deuteranopia
#75767a · ΔE 9.9
Tritanopia
#787877 · ΔE 12.2
Achromatopsia
#717171 · ΔE 11.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #796d7f;
bg-[#796d7f]
Related colors
Frequently asked questions
#796d7f (#796d7f) is rgb(121, 109, 127) in RGB.
No, #796d7f 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 #796d7f, or check how it holds up for accessibility.