Color #7f4987
A muted medium magenta.
Conversions
#7f4987
rgb(127, 73, 135)
hsl(292.3, 29.8%, 40.8%)
hsv(292.3, 45.9%, 52.9%)
cmyk(5.9%, 45.9%, 0%, 47.1%)
lab(39.63, 33.45, -25.29)
lch(39.63, 41.93, 322.91)
oklch(49.3%, 0.1137, 322.25)
hwb(292.3, 28.6%, 47.1%)
Harmony colors
Accessibility
White text reads better on this background (6.55:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6c6b7b · ΔE 18.1
Deuteranopia
#6f7279 · ΔE 21.6
Tritanopia
#7d716f · ΔE 23.4
Achromatopsia
#5d5d5d · ΔE 23.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f4987;
bg-[#7f4987]
Related colors
Frequently asked questions
#7f4987 (#7f4987) is rgb(127, 73, 135) in RGB.
No, #7f4987 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 #7f4987, or check how it holds up for accessibility.