Skip to content
Vectorlight.net

#aa50eb

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

HEX
#aa50eb
RGB
170, 80, 235
HSL
274.84°, 79.49%, 61.76%
OKLCH
0.61 0.23 307.67
Names
—
Lists

Codes

FormatValue
HEX#aa50eb
RGBrgb(170 80 235)
HSLhsl(274.84 79.49% 61.76%)
OKLCHoklch(0.61 0.23 307.67)
CMYKcmyk(27.66% 65.96% 0% 7.84%)
Android#ffaa50eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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