Color #7e6ca1
A muted medium purple.
Conversions
#7e6ca1
rgb(126, 108, 161)
hsl(260.4, 22%, 52.7%)
hsv(260.4, 32.9%, 63.1%)
cmyk(21.7%, 32.9%, 0%, 36.9%)
lab(49.17, 18.44, -26.01)
lch(49.17, 31.88, 305.34)
oklch(56.9%, 0.0825, 299.39)
hwb(260.4, 42.4%, 36.9%)
Harmony colors
Accessibility
White text reads better on this background (4.62:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#777696 · ΔE 7.2
Deuteranopia
#787994 · ΔE 9.2
Tritanopia
#7d8d8b · ΔE 24.2
Achromatopsia
#757575 · ΔE 20.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e6ca1;
bg-[#7e6ca1]
Related colors
Frequently asked questions
#7e6ca1 (#7e6ca1) is rgb(126, 108, 161) in RGB.
No, #7e6ca1 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 #7e6ca1, or check how it holds up for accessibility.