Skip to content
Vectorlight.net

#7e12ae

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

HEX
#7e12ae
RGB
126, 18, 174
HSL
281.54°, 81.25%, 37.65%
OKLCH
0.46 0.22 311.16
Names
—
Lists

Codes

FormatValue
HEX#7e12ae
RGBrgb(126 18 174)
HSLhsl(281.54 81.25% 37.65%)
OKLCHoklch(0.46 0.22 311.16)
CMYKcmyk(27.59% 89.66% 0% 31.76%)
Android#ff7e12ae

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
8.12:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.58: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="#7e12ae"
Gradient stop
<stop stop-color="#7e12ae"/>
CSS variable + fill
:root { --c: #7e12ae; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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