Color #796d9e
A muted medium blue.
Conversions
#796d9e
rgb(121, 109, 158)
hsl(254.7, 20.2%, 52.4%)
hsv(254.7, 31%, 62%)
cmyk(23.4%, 31%, 0%, 38%)
lab(48.85, 15.5, -24.78)
lch(48.85, 29.23, 302.03)
oklch(56.5%, 0.0756, 295.11)
hwb(254.7, 42.7%, 38%)
Harmony colors
Accessibility
White text reads better on this background (4.67:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#747494 · ΔE 5.9
Deuteranopia
#757691 · ΔE 7.6
Tritanopia
#788b89 · ΔE 24
Achromatopsia
#747474 · ΔE 19
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #796d9e;
bg-[#796d9e]
Related colors
Frequently asked questions
#796d9e (#796d9e) is rgb(121, 109, 158) in RGB.
No, #796d9e is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #796d9e, or check how it holds up for accessibility.