Skip to content
Kolorvia
#7e2a96

Color #7e2a96

A moderately saturated dark purple.

Conversions

HEX
#7e2a96
RGB
rgb(126, 42, 150)
HSL
hsl(286.7, 56.3%, 37.6%)
HSV / HSB
hsv(286.7, 72%, 58.8%)
CMYK
cmyk(16%, 72%, 0%, 41.2%)
LAB
lab(34.59, 51.77, -42.43)
LCH
lch(34.59, 66.94, 320.66)
OKLCH
oklch(45.9%, 0.1771, 317.7)
HWB
hwb(286.7, 16.5%, 41.2%)

Harmony colors

Complementary

#42962a

Analogous

#482a96
#7e2a96
#962a78

Triadic

#7e2a96
#967e2a
#2a967e

Split-complementary

#7e2a96
#78962a
#2a9648

Tetradic

#7e2a96
#962a42
#42962a
#2a967e

Square

#7e2a96
#96482a
#42962a
#2a7896

Shades

Color #7e2a96 mixed toward black.

#69237d
#541c64
#3f154b
#2a0e32
#150719

Tints

Color #7e2a96 mixed toward white.

#a135bf
#b659d1
#c883dc
#dbace8
#edd6f3

Tones

Color #7e2a96 mixed toward gray.

#79338d
#743c84
#6f457b
#6a4e72
#655769

Accessibility

Aa White text on this color
7.9:1
Aa Black text on this color
2.66:1

White text reads better on this background (7.9:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#646486 · ΔE 19.7

Deuteranopia

#686d81 · ΔE 23

Tritanopia

#7b7773 · ΔE 32.6

Achromatopsia

#515151 · ΔE 26.9

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #7e2a96;
Tailwind (arbitrary value)
bg-[#7e2a96]

Related colors

Medium Orchid #ba55d3
Dark Violet #9400d3
Dark Orchid #9932cc
Indigo #4b0082
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#7e2a96 (#7e2a96) is rgb(126, 42, 150) in RGB.

No, #7e2a96 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #7e2a96, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.