Color #7e6aa2
A muted medium purple.
Conversions
#7e6aa2
rgb(126, 106, 162)
hsl(261.4, 23.1%, 52.5%)
hsv(261.4, 34.6%, 63.5%)
cmyk(22.2%, 34.6%, 0%, 36.5%)
lab(48.7, 19.89, -27.33)
lch(48.7, 33.8, 306.05)
oklch(56.6%, 0.0873, 300.03)
hwb(261.4, 41.6%, 36.5%)
Harmony colors
Accessibility
White text reads better on this background (4.7:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#767697 · ΔE 7.9
Deuteranopia
#777894 · ΔE 9.5
Tritanopia
#7d8d8b · ΔE 24.4
Achromatopsia
#747474 · ΔE 20.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e6aa2;
bg-[#7e6aa2]
Related colors
Frequently asked questions
#7e6aa2 (#7e6aa2) is rgb(126, 106, 162) in RGB.
No, #7e6aa2 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 #7e6aa2, or check how it holds up for accessibility.