Skip to content
Vectorlight.net

#a42cbc

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

HEX
#a42cbc
RGB
164, 44, 188
HSL
290°, 62.07%, 45.49%
OKLCH
0.54 0.22 320.23
Names
—
Lists

Codes

FormatValue
HEX#a42cbc
RGBrgb(164 44 188)
HSLhsl(290 62.07% 45.49%)
OKLCHoklch(0.54 0.22 320.23)
CMYKcmyk(12.77% 76.6% 0% 26.27%)
Android#ffa42cbc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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