Color #804d8b
A muted medium purple.
Conversions
#804d8b
rgb(128, 77, 139)
hsl(289.4, 28.7%, 42.4%)
hsv(289.4, 44.6%, 54.5%)
cmyk(7.9%, 44.6%, 0%, 45.5%)
lab(40.83, 32.33, -25.83)
lch(40.83, 41.38, 321.38)
oklch(50.3%, 0.1114, 320.35)
hwb(289.4, 30.2%, 45.5%)
Harmony colors
Accessibility
White text reads better on this background (6.26:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6e6d7f · ΔE 17.2
Deuteranopia
#70747c · ΔE 20.8
Tritanopia
#7e7573 · ΔE 23.9
Achromatopsia
#606060 · ΔE 23.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #804d8b;
bg-[#804d8b]
Related colors
Frequently asked questions
#804d8b (#804d8b) is rgb(128, 77, 139) in RGB.
No, #804d8b 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 #804d8b, or check how it holds up for accessibility.