Color #796aa1
A muted medium blue.
Conversions
#796aa1
rgb(121, 106, 161)
hsl(256.4, 22.6%, 52.4%)
hsv(256.4, 34.2%, 63.1%)
cmyk(24.8%, 34.2%, 0%, 36.9%)
lab(48.19, 18.06, -27.56)
lch(48.19, 32.95, 303.24)
oklch(56%, 0.0851, 296.08)
hwb(256.4, 41.6%, 36.9%)
Harmony colors
Accessibility
White text reads better on this background (4.78:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#737396 · ΔE 6.3
Deuteranopia
#747593 · ΔE 8
Tritanopia
#788d8a · ΔE 25.5
Achromatopsia
#727272 · ΔE 20.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #796aa1;
bg-[#796aa1]
Related colors
Frequently asked questions
#796aa1 (#796aa1) is rgb(121, 106, 161) in RGB.
No, #796aa1 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 #796aa1, or check how it holds up for accessibility.