Skip to content
Vectorlight.net

#aa4cec

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

HEX
#aa4cec
RGB
170, 76, 236
HSL
275.25°, 80.81%, 61.18%
OKLCH
0.61 0.23 307.81
Names
—
Lists

Codes

FormatValue
HEX#aa4cec
RGBrgb(170 76 236)
HSLhsl(275.25 80.81% 61.18%)
OKLCHoklch(0.61 0.23 307.81)
CMYKcmyk(27.97% 67.8% 0% 7.45%)
Android#ffaa4cec

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.23:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.95:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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