Color #804797
A muted medium purple.
Conversions
#804797
rgb(128, 71, 151)
hsl(282.8, 36%, 43.5%)
hsv(282.8, 53%, 59.2%)
cmyk(15.2%, 53%, 0%, 40.8%)
lab(40.13, 38.32, -34.19)
lch(40.13, 51.36, 318.26)
oklch(50%, 0.1356, 315.42)
hwb(282.8, 27.8%, 40.8%)
Harmony colors
Accessibility
White text reads better on this background (6.43:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6c6b89 · ΔE 15.9
Deuteranopia
#6f7385 · ΔE 19.5
Tritanopia
#7e7c79 · ΔE 29
Achromatopsia
#5f5f5f · ΔE 24.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #804797;
bg-[#804797]
Related colors
Frequently asked questions
#804797 (#804797) is rgb(128, 71, 151) in RGB.
No, #804797 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 #804797, or check how it holds up for accessibility.