Color #796fa1
A muted medium blue.
Conversions
#796fa1
rgb(121, 111, 161)
hsl(252, 21%, 53.3%)
hsv(252, 31.1%, 63.1%)
cmyk(24.8%, 31.1%, 0%, 36.9%)
lab(49.5, 15.05, -25.53)
lch(49.5, 29.64, 300.52)
oklch(57.1%, 0.0767, 292.95)
hwb(252, 43.5%, 36.9%)
Harmony colors
Accessibility
Black text reads better on this background (4.6:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#757597 · ΔE 5.1
Deuteranopia
#757694 · ΔE 6.4
Tritanopia
#798e8c · ΔE 24.2
Achromatopsia
#767676 · ΔE 19
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #796fa1;
bg-[#796fa1]
Related colors
Frequently asked questions
#796fa1 (#796fa1) is rgb(121, 111, 161) in RGB.
No, #796fa1 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 #796fa1, or check how it holds up for accessibility.