Skip to content
Vectorlight.net

#a02fe9

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

HEX
#a02fe9
RGB
160, 47, 233
HSL
276.45°, 80.87%, 54.9%
OKLCH
0.57 0.26 307.2
Names
—
Lists

Codes

FormatValue
HEX#a02fe9
RGBrgb(160 47 233)
HSLhsl(276.45 80.87% 54.9%)
OKLCHoklch(0.57 0.26 307.2)
CMYKcmyk(31.33% 79.83% 0% 8.63%)
Android#ffa02fe9

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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