Skip to content
Vectorlight.net

#662ead

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

HEX
#662ead
RGB
102, 46, 173
HSL
266.46°, 57.99%, 42.94%
OKLCH
0.45 0.19 298.51
Names
—
Lists

Codes

FormatValue
HEX#662ead
RGBrgb(102 46 173)
HSLhsl(266.46 57.99% 42.94%)
OKLCHoklch(0.45 0.19 298.51)
CMYKcmyk(41.04% 73.41% 0% 32.16%)
Android#ff662ead

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #662ead;
background-color: #662ead;
bg-[#662ead]