Skip to content
Vectorlight.net

#7e46ec

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

HEX
#7e46ec
RGB
126, 70, 236
HSL
260.24°, 81.37%, 60%
OKLCH
0.56 0.23 292.59
Names
—
Lists

Codes

FormatValue
HEX#7e46ec
RGBrgb(126 70 236)
HSLhsl(260.24 81.37% 60%)
OKLCHoklch(0.56 0.23 292.59)
CMYKcmyk(46.61% 70.34% 0% 7.45%)
Android#ff7e46ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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