Skip to content
Vectorlight.net

#664abc

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

HEX
#664abc
RGB
102, 74, 188
HSL
254.74°, 45.97%, 51.37%
OKLCH
0.5 0.17 290.14
Names
—
Lists

Codes

FormatValue
HEX#664abc
RGBrgb(102 74 188)
HSLhsl(254.74 45.97% 51.37%)
OKLCHoklch(0.5 0.17 290.14)
CMYKcmyk(45.74% 60.64% 0% 26.27%)
Android#ff664abc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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