Color #7e528a
A muted medium purple.
Conversions
#7e528a
rgb(126, 82, 138)
hsl(287.1, 25.5%, 43.1%)
hsv(287.1, 40.6%, 54.1%)
cmyk(8.7%, 40.6%, 0%, 45.9%)
lab(41.7, 28.57, -23.9)
lch(41.7, 37.25, 320.09)
oklch(50.9%, 0.0999, 318.86)
hwb(287.1, 32.2%, 45.9%)
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
#6e6d7f · ΔE 15.9
Deuteranopia
#70737c · ΔE 19.9
Tritanopia
#7c7674 · ΔE 23.4
Achromatopsia
#626262 · ΔE 22.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e528a;
bg-[#7e528a]
Related colors
Frequently asked questions
#7e528a (#7e528a) is rgb(126, 82, 138) in RGB.
No, #7e528a 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 #7e528a, or check how it holds up for accessibility.