Skip to content
Vectorlight.net

#a052ef

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

HEX
#a052ef
RGB
160, 82, 239
HSL
269.81°, 83.07%, 62.94%
OKLCH
0.61 0.23 303.03
Names
—
Lists

Codes

FormatValue
HEX#a052ef
RGBrgb(160 82 239)
HSLhsl(269.81 83.07% 62.94%)
OKLCHoklch(0.61 0.23 303.03)
CMYKcmyk(33.05% 65.69% 0% 6.27%)
Android#ffa052ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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