Skip to content
Vectorlight.net

#a42fcf

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

HEX
#a42fcf
RGB
164, 47, 207
HSL
283.88°, 62.99%, 49.8%
OKLCH
0.56 0.24 314.79
Names
—
Lists

Codes

FormatValue
HEX#a42fcf
RGBrgb(164 47 207)
HSLhsl(283.88 62.99% 49.8%)
OKLCHoklch(0.56 0.24 314.79)
CMYKcmyk(20.77% 77.29% 0% 18.82%)
Android#ffa42fcf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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