Color #7f518e
A muted medium purple.
Conversions
#7f518e
rgb(127, 81, 142)
hsl(285.2, 27.4%, 43.7%)
hsv(285.2, 43%, 55.7%)
cmyk(10.6%, 43%, 0%, 44.3%)
lab(41.77, 30.36, -26.2)
lch(41.77, 40.1, 319.21)
oklch(51%, 0.1069, 317.54)
hwb(285.2, 31.8%, 44.3%)
Harmony colors
Accessibility
White text reads better on this background (6.05:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6e6e82 · ΔE 16.1
Deuteranopia
#70747f · ΔE 19.6
Tritanopia
#7d7876 · ΔE 24.4
Achromatopsia
#636363 · ΔE 22.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f518e;
bg-[#7f518e]
Related colors
Frequently asked questions
#7f518e (#7f518e) is rgb(127, 81, 142) in RGB.
No, #7f518e 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 #7f518e, or check how it holds up for accessibility.