Skip to content
Vectorlight.net

#661fbc

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

HEX
#661fbc
RGB
102, 31, 188
HSL
267.13°, 71.69%, 42.94%
OKLCH
0.45 0.22 296.47
Names
—
Lists

Codes

FormatValue
HEX#661fbc
RGBrgb(102 31 188)
HSLhsl(267.13 71.69% 42.94%)
OKLCHoklch(0.45 0.22 296.47)
CMYKcmyk(45.74% 83.51% 0% 26.27%)
Android#ff661fbc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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