Color #796f98
A muted medium blue.
Conversions
#796f98
rgb(121, 111, 152)
hsl(254.6, 16.6%, 51.6%)
hsv(254.6, 27%, 59.6%)
cmyk(20.4%, 27%, 0%, 40.4%)
lab(49.13, 12.82, -20.82)
lch(49.13, 24.45, 301.62)
oklch(56.6%, 0.0634, 295.51)
hwb(254.6, 43.5%, 40.4%)
Harmony colors
Accessibility
White text reads better on this background (4.63:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#75758f · ΔE 6.1
Deuteranopia
#75768d · ΔE 7.3
Tritanopia
#798887 · ΔE 21.8
Achromatopsia
#757575 · ΔE 17.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #796f98;
bg-[#796f98]
Related colors
Frequently asked questions
#796f98 (#796f98) is rgb(121, 111, 152) in RGB.
No, #796f98 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 #796f98, or check how it holds up for accessibility.