Skip to content
Vectorlight.net

#a642bb

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

HEX
#a642bb
RGB
166, 66, 187
HSL
289.59°, 47.83%, 49.61%
OKLCH
0.56 0.2 320.27
Names
—
Lists

Codes

FormatValue
HEX#a642bb
RGBrgb(166 66 187)
HSLhsl(289.59 47.83% 49.61%)
OKLCHoklch(0.56 0.2 320.27)
CMYKcmyk(11.23% 64.71% 0% 26.67%)
Android#ffa642bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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