Skip to content
Vectorlight.net

#664be2

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

HEX
#664be2
RGB
102, 75, 226
HSL
250.73°, 72.25%, 59.02%
OKLCH
0.53 0.22 284.45
Names
—
Lists

Codes

FormatValue
HEX#664be2
RGBrgb(102 75 226)
HSLhsl(250.73 72.25% 59.02%)
OKLCHoklch(0.53 0.22 284.45)
CMYKcmyk(54.87% 66.81% 0% 11.37%)
Android#ff664be2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #664be2;
background-color: #664be2;
bg-[#664be2]