Color #7e3c8d
A moderately saturated dark purple.
Conversions
#7e3c8d
rgb(126, 60, 141)
hsl(288.9, 40.3%, 39.4%)
hsv(288.9, 57.4%, 55.3%)
cmyk(10.6%, 57.4%, 0%, 44.7%)
lab(37.1, 41.49, -32.93)
lch(37.1, 52.97, 321.56)
oklch(47.5%, 0.1421, 319.88)
hwb(288.9, 23.5%, 44.7%)
Harmony colors
Accessibility
White text reads better on this background (7.2:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#68677f · ΔE 18.3
Deuteranopia
#6b6f7c · ΔE 21.6
Tritanopia
#7c7370 · ΔE 27.5
Achromatopsia
#575757 · ΔE 24.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e3c8d;
bg-[#7e3c8d]
Related colors
Frequently asked questions
#7e3c8d (#7e3c8d) is rgb(126, 60, 141) in RGB.
No, #7e3c8d 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 #7e3c8d, or check how it holds up for accessibility.