Color #7f5d8a
A muted medium purple.
Conversions
#7f5d8a
rgb(127, 93, 138)
hsl(285.3, 19.5%, 45.3%)
hsv(285.3, 32.6%, 54.1%)
cmyk(8%, 32.6%, 0%, 45.9%)
lab(44.48, 22.4, -19.58)
lch(44.48, 29.75, 318.84)
oklch(53%, 0.0795, 317.7)
hwb(285.3, 36.5%, 45.9%)
Harmony colors
Accessibility
White text reads better on this background (5.48:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#727281 · ΔE 15
Deuteranopia
#74767f · ΔE 17.9
Tritanopia
#7e7977 · ΔE 21.1
Achromatopsia
#696969 · ΔE 20.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f5d8a;
bg-[#7f5d8a]
Related colors
Frequently asked questions
#7f5d8a (#7f5d8a) is rgb(127, 93, 138) in RGB.
No, #7f5d8a 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 #7f5d8a, or check how it holds up for accessibility.