Color #7f4d7c
A muted medium magenta.
Conversions
#7f4d7c
rgb(127, 77, 124)
hsl(303.6, 24.5%, 40%)
hsv(303.6, 39.4%, 49.8%)
cmyk(0%, 39.4%, 2.4%, 50.2%)
lab(40.04, 28.91, -17.91)
lch(40.04, 34.01, 328.22)
oklch(49.5%, 0.0945, 329.04)
hwb(303.6, 30.2%, 50.2%)
Harmony colors
Accessibility
White text reads better on this background (6.45:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6d6c73 · ΔE 19.8
Deuteranopia
#6f7370 · ΔE 23.9
Tritanopia
#7d6b69 · ΔE 19.4
Achromatopsia
#5e5e5e · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f4d7c;
bg-[#7f4d7c]
Related colors
Frequently asked questions
#7f4d7c (#7f4d7c) is rgb(127, 77, 124) in RGB.
No, #7f4d7c 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 #7f4d7c, or check how it holds up for accessibility.