Skip to content
Vectorlight.net

#661ecd

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

HEX
#661ecd
RGB
102, 30, 205
HSL
264.69°, 74.47%, 46.08%
OKLCH
0.46 0.24 292.87
Names
—
Lists

Codes

FormatValue
HEX#661ecd
RGBrgb(102 30 205)
HSLhsl(264.69 74.47% 46.08%)
OKLCHoklch(0.46 0.24 292.87)
CMYKcmyk(50.24% 85.37% 0% 19.61%)
Android#ff661ecd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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