Skip to content
Vectorlight.net

#aa38da

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

HEX
#aa38da
RGB
170, 56, 218
HSL
282.22°, 68.64%, 53.73%
OKLCH
0.58 0.24 313.53
Names
—
Lists

Codes

FormatValue
HEX#aa38da
RGBrgb(170 56 218)
HSLhsl(282.22 68.64% 53.73%)
OKLCHoklch(0.58 0.24 313.53)
CMYKcmyk(22.02% 74.31% 0% 14.51%)
Android#ffaa38da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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