Skip to content
Vectorlight.net

#aa38cf

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

HEX
#aa38cf
RGB
170, 56, 207
HSL
285.3°, 61.13%, 51.57%
OKLCH
0.57 0.23 316.39
Names
—
Lists

Codes

FormatValue
HEX#aa38cf
RGBrgb(170 56 207)
HSLhsl(285.3 61.13% 51.57%)
OKLCHoklch(0.57 0.23 316.39)
CMYKcmyk(17.87% 72.95% 0% 18.82%)
Android#ffaa38cf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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