Skip to content
Vectorlight.net

#a142dc

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

HEX
#a142dc
RGB
161, 66, 220
HSL
277.01°, 68.75%, 56.08%
OKLCH
0.58 0.23 309.21
Names
—
Lists

Codes

FormatValue
HEX#a142dc
RGBrgb(161 66 220)
HSLhsl(277.01 68.75% 56.08%)
OKLCHoklch(0.58 0.23 309.21)
CMYKcmyk(26.82% 70% 0% 13.73%)
Android#ffa142dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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