Color #796d8a
A nearly neutral, gray-leaning medium purple.
Conversions
#796d8a
rgb(121, 109, 138)
hsl(264.8, 11.7%, 48.4%)
hsv(264.8, 21%, 54.1%)
cmyk(12.3%, 21%, 0%, 45.9%)
lab(48.05, 10.72, -14.19)
lch(48.05, 17.78, 307.07)
oklch(55.6%, 0.0463, 303.83)
hwb(264.8, 42.7%, 45.9%)
Harmony colors
Accessibility
White text reads better on this background (4.81:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#747484 · ΔE 7.5
Deuteranopia
#757682 · ΔE 9.5
Tritanopia
#787e7d · ΔE 17.4
Achromatopsia
#727272 · ΔE 14.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #796d8a;
bg-[#796d8a]
Related colors
Frequently asked questions
#796d8a (#796d8a) is rgb(121, 109, 138) in RGB.
No, #796d8a 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 #796d8a, or check how it holds up for accessibility.