Skip to content
Vectorlight.net

#7962ef

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

HEX
#7962ef
RGB
121, 98, 239
HSL
249.79°, 81.5%, 66.08%
OKLCH
0.59 0.2 285.89
Names
—
Lists

Codes

FormatValue
HEX#7962ef
RGBrgb(121 98 239)
HSLhsl(249.79 81.5% 66.08%)
OKLCHoklch(0.59 0.2 285.89)
CMYKcmyk(49.37% 59% 0% 6.27%)
Android#ff7962ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7962ef;
background-color: #7962ef;
bg-[#7962ef]