Skip to content
Vectorlight.net

#a302be

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

HEX
#a302be
RGB
163, 2, 190
HSL
291.38°, 97.92%, 37.65%
OKLCH
0.52 0.25 320.22
Names
—
Lists

Codes

FormatValue
HEX#a302be
RGBrgb(163 2 190)
HSLhsl(291.38 97.92% 37.65%)
OKLCHoklch(0.52 0.25 320.22)
CMYKcmyk(14.21% 98.95% 0% 25.49%)
Android#ffa302be

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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