Skip to content
Vectorlight.net

#a42bc0

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

HEX
#a42bc0
RGB
164, 43, 192
HSL
288.72°, 63.4%, 46.08%
OKLCH
0.54 0.23 319.1
Names
—
Lists

Codes

FormatValue
HEX#a42bc0
RGBrgb(164 43 192)
HSLhsl(288.72 63.4% 46.08%)
OKLCHoklch(0.54 0.23 319.1)
CMYKcmyk(14.58% 77.6% 0% 24.71%)
Android#ffa42bc0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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