Skip to content
Vectorlight.net

#a42dc0

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

HEX
#a42dc0
RGB
164, 45, 192
HSL
288.57°, 62.03%, 46.47%
OKLCH
0.54 0.23 319.02
Names
—
Lists

Codes

FormatValue
HEX#a42dc0
RGBrgb(164 45 192)
HSLhsl(288.57 62.03% 46.47%)
OKLCHoklch(0.54 0.23 319.02)
CMYKcmyk(14.58% 76.56% 0% 24.71%)
Android#ffa42dc0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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