Skip to content
Vectorlight.net

#a646bf

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

HEX
#a646bf
RGB
166, 70, 191
HSL
287.6°, 48.59%, 51.18%
OKLCH
0.57 0.2 318.76
Names
—
Lists

Codes

FormatValue
HEX#a646bf
RGBrgb(166 70 191)
HSLhsl(287.6 48.59% 51.18%)
OKLCHoklch(0.57 0.2 318.76)
CMYKcmyk(13.09% 63.35% 0% 25.1%)
Android#ffa646bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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