Skip to content
Vectorlight.net

#ae28e4

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

HEX
#ae28e4
RGB
174, 40, 228
HSL
282.77°, 77.69%, 52.55%
OKLCH
0.58 0.26 313.17
Names
—
Lists

Codes

FormatValue
HEX#ae28e4
RGBrgb(174 40 228)
HSLhsl(282.77 77.69% 52.55%)
OKLCHoklch(0.58 0.26 313.17)
CMYKcmyk(23.68% 82.46% 0% 10.59%)
Android#ffae28e4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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