Skip to content
Vectorlight.net

#a202bc

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

HEX
#a202bc
RGB
162, 2, 188
HSL
291.61°, 97.89%, 37.25%
OKLCH
0.52 0.25 320.46
Names
—
Lists

Codes

FormatValue
HEX#a202bc
RGBrgb(162 2 188)
HSLhsl(291.61 97.89% 37.25%)
OKLCHoklch(0.52 0.25 320.46)
CMYKcmyk(13.83% 98.94% 0% 26.27%)
Android#ffa202bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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