Skip to content
Vectorlight.net

#aa36cb

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

HEX
#aa36cb
RGB
170, 54, 203
HSL
286.71°, 58.89%, 50.39%
OKLCH
0.57 0.23 317.59
Names
—
Lists

Codes

FormatValue
HEX#aa36cb
RGBrgb(170 54 203)
HSLhsl(286.71 58.89% 50.39%)
OKLCHoklch(0.57 0.23 317.59)
CMYKcmyk(16.26% 73.4% 0% 20.39%)
Android#ffaa36cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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