Skip to content
Vectorlight.net

#7e209c

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#7e209c
RGB
126, 32, 156
HSL
285.48°, 65.96%, 36.86%
OKLCH
0.45 0.19 316.21
Names
—
Lists

Codes

FormatValue
HEX#7e209c
RGBrgb(126 32 156)
HSLhsl(285.48 65.96% 36.86%)
OKLCHoklch(0.45 0.19 316.21)
CMYKcmyk(19.23% 79.49% 0% 38.82%)
Android#ff7e209c

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
8.15:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.57:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#7e209c"
Gradient stop
<stop stop-color="#7e209c"/>
CSS variable + fill
:root { --c: #7e209c; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #7e209c;
background-color: #7e209c;
bg-[#7e209c]