Skip to content
Vectorlight.net

#6662ec

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

HEX
#6662ec
RGB
102, 98, 236
HSL
241.74°, 78.41%, 65.49%
OKLCH
0.58 0.2 279.27
Names
—
Lists

Codes

FormatValue
HEX#6662ec
RGBrgb(102 98 236)
HSLhsl(241.74 78.41% 65.49%)
OKLCHoklch(0.58 0.2 279.27)
CMYKcmyk(56.78% 58.47% 0% 7.45%)
Android#ff6662ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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