Skip to content
Vectorlight.net

#a646cb

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

HEX
#a646cb
RGB
166, 70, 203
HSL
283.31°, 56.12%, 53.53%
OKLCH
0.58 0.21 315.18
Names
—
Lists

Codes

FormatValue
HEX#a646cb
RGBrgb(166 70 203)
HSLhsl(283.31 56.12% 53.53%)
OKLCHoklch(0.58 0.21 315.18)
CMYKcmyk(18.23% 65.52% 0% 20.39%)
Android#ffa646cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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