Color #804096
A moderately saturated medium purple.
Conversions
#804096
rgb(128, 64, 150)
hsl(284.7, 40.2%, 42%)
hsv(284.7, 57.3%, 58.8%)
cmyk(14.7%, 57.3%, 0%, 41.2%)
lab(38.65, 41.88, -35.93)
lch(38.65, 55.18, 319.37)
oklch(48.9%, 0.1462, 316.72)
hwb(284.7, 25.1%, 41.2%)
Harmony colors
Accessibility
White text reads better on this background (6.79:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6a6a87 · ΔE 17.5
Deuteranopia
#6d7184 · ΔE 20.3
Tritanopia
#7e7a77 · ΔE 29.2
Achromatopsia
#5b5b5b · ΔE 25.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #804096;
bg-[#804096]
Related colors
Frequently asked questions
#804096 (#804096) is rgb(128, 64, 150) in RGB.
No, #804096 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 #804096, or check how it holds up for accessibility.