Skip to content
Vectorlight.net

#a140dc

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

HEX
#a140dc
RGB
161, 64, 220
HSL
277.31°, 69.03%, 55.69%
OKLCH
0.58 0.23 309.37
Names
—
Lists

Codes

FormatValue
HEX#a140dc
RGBrgb(161 64 220)
HSLhsl(277.31 69.03% 55.69%)
OKLCHoklch(0.58 0.23 309.37)
CMYKcmyk(26.82% 70.91% 0% 13.73%)
Android#ffa140dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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