Skip to content
Vectorlight.net

#a42fca

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

HEX
#a42fca
RGB
164, 47, 202
HSL
285.29°, 62.25%, 48.82%
OKLCH
0.55 0.23 316.13
Names
—
Lists

Codes

FormatValue
HEX#a42fca
RGBrgb(164 47 202)
HSLhsl(285.29 62.25% 48.82%)
OKLCHoklch(0.55 0.23 316.13)
CMYKcmyk(18.81% 76.73% 0% 20.78%)
Android#ffa42fca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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