Skip to content
Vectorlight.net

#ae40dc

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

HEX
#ae40dc
RGB
174, 64, 220
HSL
282.31°, 69.03%, 55.69%
OKLCH
0.59 0.23 313.91
Names
—
Lists

Codes

FormatValue
HEX#ae40dc
RGBrgb(174 64 220)
HSLhsl(282.31 69.03% 55.69%)
OKLCHoklch(0.59 0.23 313.91)
CMYKcmyk(20.91% 70.91% 0% 13.73%)
Android#ffae40dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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