Skip to content
Vectorlight.net

#664cbb

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

HEX
#664cbb
RGB
102, 76, 187
HSL
254.05°, 44.94%, 51.57%
OKLCH
0.5 0.17 289.83
Names
—
Lists

Codes

FormatValue
HEX#664cbb
RGBrgb(102 76 187)
HSLhsl(254.05 44.94% 51.57%)
OKLCHoklch(0.5 0.17 289.83)
CMYKcmyk(45.45% 59.36% 0% 26.67%)
Android#ff664cbb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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