Color #796b98
A muted medium blue.
Conversions
#796b98
rgb(121, 107, 152)
hsl(258.7, 17.9%, 50.8%)
hsv(258.7, 29.6%, 59.6%)
cmyk(20.4%, 29.6%, 0%, 40.4%)
lab(48.07, 15.22, -22.46)
lch(48.07, 27.13, 304.12)
oklch(55.8%, 0.0702, 298.39)
hwb(258.7, 42%, 40.4%)
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
#73738f · ΔE 6.9
Deuteranopia
#74758c · ΔE 8.8
Tritanopia
#788785 · ΔE 23.2
Achromatopsia
#727272 · ΔE 18.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #796b98;
bg-[#796b98]
Related colors
Frequently asked questions
#796b98 (#796b98) is rgb(121, 107, 152) in RGB.
No, #796b98 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 #796b98, or check how it holds up for accessibility.