Skip to content
Vectorlight.net

#aa54ee

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

HEX
#aa54ee
RGB
170, 84, 238
HSL
273.51°, 81.91%, 63.14%
OKLCH
0.62 0.22 306.61
Names
—
Lists

Codes

FormatValue
HEX#aa54ee
RGBrgb(170 84 238)
HSLhsl(273.51 81.91% 63.14%)
OKLCHoklch(0.62 0.22 306.61)
CMYKcmyk(28.57% 64.71% 0% 6.67%)
Android#ffaa54ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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