Skip to content
Vectorlight.net

#aa40fd

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

HEX
#aa40fd
RGB
170, 64, 253
HSL
273.65°, 97.93%, 62.16%
OKLCH
0.61 0.26 305.19
Names
—
Lists

Codes

FormatValue
HEX#aa40fd
RGBrgb(170 64 253)
HSLhsl(273.65 97.93% 62.16%)
OKLCHoklch(0.61 0.26 305.19)
CMYKcmyk(32.81% 74.7% 0% 0.78%)
Android#ffaa40fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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