Color #7e3ea4
A moderately saturated medium purple.
Conversions
#7e3ea4
rgb(126, 62, 164)
hsl(277.6, 45.1%, 44.3%)
hsv(277.6, 62.2%, 64.3%)
cmyk(23.2%, 62.2%, 0%, 35.7%)
lab(38.83, 45.51, -44.09)
lch(38.83, 63.36, 315.91)
oklch(49.2%, 0.1637, 310.72)
hwb(277.6, 24.3%, 35.7%)
Harmony colors
Accessibility
White text reads better on this background (6.75:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#686893 · ΔE 16
Deuteranopia
#6b708f · ΔE 19
Tritanopia
#7c8481 · ΔE 30.3
Achromatopsia
#5b5b5b · ΔE 26.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e3ea4;
bg-[#7e3ea4]
Related colors
Frequently asked questions
#7e3ea4 (#7e3ea4) is rgb(126, 62, 164) in RGB.
No, #7e3ea4 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 #7e3ea4, or check how it holds up for accessibility.