Skip to content
Vectorlight.net

#a02beb

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

HEX
#a02beb
RGB
160, 43, 235
HSL
276.56°, 82.76%, 54.51%
OKLCH
0.57 0.26 306.98
Names
—
Lists

Codes

FormatValue
HEX#a02beb
RGBrgb(160 43 235)
HSLhsl(276.56 82.76% 54.51%)
OKLCHoklch(0.57 0.26 306.98)
CMYKcmyk(31.91% 81.7% 0% 7.84%)
Android#ffa02beb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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