Color #796498
A muted medium purple.
Conversions
#796498
rgb(121, 100, 152)
hsl(264.2, 20.6%, 49.4%)
hsv(264.2, 34.2%, 59.6%)
cmyk(20.4%, 34.2%, 0%, 40.4%)
lab(46.24, 19.43, -25.28)
lch(46.24, 31.88, 307.55)
oklch(54.4%, 0.0826, 302.25)
hwb(264.2, 39.2%, 40.4%)
Harmony colors
Accessibility
White text reads better on this background (5.14:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#71708e · ΔE 8.3
Deuteranopia
#72738b · ΔE 10.6
Tritanopia
#788583 · ΔE 23.9
Achromatopsia
#6e6e6e · ΔE 20.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #796498;
bg-[#796498]
Related colors
Frequently asked questions
#796498 (#796498) is rgb(121, 100, 152) in RGB.
No, #796498 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 #796498, or check how it holds up for accessibility.