Color #7f5287
A muted medium magenta.
Conversions
#7f5287
rgb(127, 82, 135)
hsl(290.9, 24.4%, 42.5%)
hsv(290.9, 39.3%, 52.9%)
cmyk(5.9%, 39.3%, 0%, 47.1%)
lab(41.68, 28.26, -22.09)
lch(41.68, 35.87, 321.99)
oklch(50.9%, 0.0969, 321.37)
hwb(290.9, 32.2%, 47.1%)
Harmony colors
Accessibility
White text reads better on this background (6.07:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6e6e7d · ΔE 17.2
Deuteranopia
#71747a · ΔE 20.7
Tritanopia
#7d7472 · ΔE 22.2
Achromatopsia
#626262 · ΔE 22.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f5287;
bg-[#7f5287]
Related colors
Frequently asked questions
#7f5287 (#7f5287) is rgb(127, 82, 135) in RGB.
No, #7f5287 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 #7f5287, or check how it holds up for accessibility.