Skip to content
Vectorlight.net

#a142ce

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

HEX
#a142ce
RGB
161, 66, 206
HSL
280.71°, 58.82%, 53.33%
OKLCH
0.57 0.21 312.78
Names
—
Lists

Codes

FormatValue
HEX#a142ce
RGBrgb(161 66 206)
HSLhsl(280.71 58.82% 53.33%)
OKLCHoklch(0.57 0.21 312.78)
CMYKcmyk(21.84% 67.96% 0% 19.22%)
Android#ffa142ce

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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