Color #794e87
A muted medium purple.
Conversions
#794e87
rgb(121, 78, 135)
hsl(285.3, 26.8%, 41.8%)
hsv(285.3, 42.2%, 52.9%)
cmyk(10.4%, 42.2%, 0%, 47.1%)
lab(40.02, 28.63, -24.73)
lch(40.02, 37.83, 319.18)
oklch(49.5%, 0.1009, 317.57)
hwb(285.3, 30.6%, 47.1%)
Harmony colors
Accessibility
White text reads better on this background (6.46:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#69697c · ΔE 15.8
Deuteranopia
#6b6e79 · ΔE 19.1
Tritanopia
#777370 · ΔE 24.7
Achromatopsia
#5e5e5e · ΔE 22.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #794e87;
bg-[#794e87]
Related colors
Frequently asked questions
#794e87 (#794e87) is rgb(121, 78, 135) in RGB.
No, #794e87 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 #794e87, or check how it holds up for accessibility.