Color #796ca7
A muted medium blue.
Conversions
#796ca7
rgb(121, 108, 167)
hsl(253.2, 25.1%, 53.9%)
hsv(253.2, 35.3%, 65.5%)
cmyk(27.5%, 35.3%, 0%, 34.5%)
lab(48.98, 18.39, -29.85)
lch(48.98, 35.06, 301.64)
oklch(56.7%, 0.0905, 293.45)
hwb(253.2, 42.4%, 34.5%)
Harmony colors
Accessibility
White text reads better on this background (4.65:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#74739b · ΔE 5.2
Deuteranopia
#747598 · ΔE 6.7
Tritanopia
#78918f · ΔE 25.5
Achromatopsia
#747474 · ΔE 20.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #796ca7;
bg-[#796ca7]
Related colors
Frequently asked questions
#796ca7 (#796ca7) is rgb(121, 108, 167) in RGB.
No, #796ca7 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 #796ca7, or check how it holds up for accessibility.