Skip to content
Vectorlight.net

#a665cc

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

HEX
#a665cc
RGB
166, 101, 204
HSL
277.86°, 50.24%, 59.8%
OKLCH
0.62 0.16 311.67
Names
—
Lists

Codes

FormatValue
HEX#a665cc
RGBrgb(166 101 204)
HSLhsl(277.86 50.24% 59.8%)
OKLCHoklch(0.62 0.16 311.67)
CMYKcmyk(18.63% 50.49% 0% 20%)
Android#ffa665cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.92:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.35:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#a665cc"
Gradient stop
<stop stop-color="#a665cc"/>
CSS variable + fill
:root { --c: #a665cc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #a665cc;
background-color: #a665cc;
bg-[#a665cc]