Skip to content
Vectorlight.net

#664bc0

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

HEX
#664bc0
RGB
102, 75, 192
HSL
253.85°, 48.15%, 52.35%
OKLCH
0.51 0.17 289.23
Names
—
Lists

Codes

FormatValue
HEX#664bc0
RGBrgb(102 75 192)
HSLhsl(253.85 48.15% 52.35%)
OKLCHoklch(0.51 0.17 289.23)
CMYKcmyk(46.88% 60.94% 0% 24.71%)
Android#ff664bc0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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