Skip to content
Vectorlight.net

#7e79eb

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

HEX
#7e79eb
RGB
126, 121, 235
HSL
242.63°, 74.03%, 69.8%
OKLCH
0.63 0.17 282.53
Names
—
Lists

Codes

FormatValue
HEX#7e79eb
RGBrgb(126 121 235)
HSLhsl(242.63 74.03% 69.8%)
OKLCHoklch(0.63 0.17 282.53)
CMYKcmyk(46.38% 48.51% 0% 7.84%)
Android#ff7e79eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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

Recolor an SVG with this color

CSS

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