Skip to content
Vectorlight.net

#aa74c8

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

HEX
#aa74c8
RGB
170, 116, 200
HSL
278.57°, 43.3%, 61.96%
OKLCH
0.65 0.13 312.67
Names
—
Lists

Codes

FormatValue
HEX#aa74c8
RGBrgb(170 116 200)
HSLhsl(278.57 43.3% 61.96%)
OKLCHoklch(0.65 0.13 312.67)
CMYKcmyk(15% 42% 0% 21.57%)
Android#ffaa74c8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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