Skip to content
Vectorlight.net

#a240ae

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

HEX
#a240ae
RGB
162, 64, 174
HSL
293.45°, 46.22%, 46.67%
OKLCH
0.55 0.19 323.18
Names
—
Lists

Codes

FormatValue
HEX#a240ae
RGBrgb(162 64 174)
HSLhsl(293.45 46.22% 46.67%)
OKLCHoklch(0.55 0.19 323.18)
CMYKcmyk(6.9% 63.22% 0% 31.76%)
Android#ffa240ae

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
5.41: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="#a240ae"
Gradient stop
<stop stop-color="#a240ae"/>
CSS variable + fill
:root { --c: #a240ae; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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