Skip to content
Vectorlight.net

#662ced

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

HEX
#662ced
RGB
102, 44, 237
HSL
258.03°, 84.28%, 55.1%
OKLCH
0.51 0.26 286.4
Names
—
Lists

Codes

FormatValue
HEX#662ced
RGBrgb(102 44 237)
HSLhsl(258.03 84.28% 55.1%)
OKLCHoklch(0.51 0.26 286.4)
CMYKcmyk(56.96% 81.43% 0% 7.06%)
Android#ff662ced

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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