Skip to content
Vectorlight.net

#a662bb

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

HEX
#a662bb
RGB
166, 98, 187
HSL
285.84°, 39.56%, 55.88%
OKLCH
0.61 0.15 317.83
Names
—
Lists

Codes

FormatValue
HEX#a662bb
RGBrgb(166 98 187)
HSLhsl(285.84 39.56% 55.88%)
OKLCHoklch(0.61 0.15 317.83)
CMYKcmyk(11.23% 47.59% 0% 26.67%)
Android#ffa662bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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