Skip to content
Vectorlight.net

#7062ec

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

HEX
#7062ec
RGB
112, 98, 236
HSL
246.09°, 78.41%, 65.49%
OKLCH
0.58 0.2 282.85
Names
—
Lists

Codes

FormatValue
HEX#7062ec
RGBrgb(112 98 236)
HSLhsl(246.09 78.41% 65.49%)
OKLCHoklch(0.58 0.2 282.85)
CMYKcmyk(52.54% 58.47% 0% 7.45%)
Android#ff7062ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7062ec;
background-color: #7062ec;
bg-[#7062ec]