Skip to content
Vectorlight.net

#661fc5

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

HEX
#661fc5
RGB
102, 31, 197
HSL
265.66°, 72.81%, 44.71%
OKLCH
0.46 0.23 294.46
Names
—
Lists

Codes

FormatValue
HEX#661fc5
RGBrgb(102 31 197)
HSLhsl(265.66 72.81% 44.71%)
OKLCHoklch(0.46 0.23 294.46)
CMYKcmyk(48.22% 84.26% 0% 22.75%)
Android#ff661fc5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #661fc5;
background-color: #661fc5;
bg-[#661fc5]