Skip to content
Vectorlight.net

#a702bc

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

HEX
#a702bc
RGB
167, 2, 188
HSL
293.23°, 97.89%, 37.25%
OKLCH
0.53 0.25 322.06
Names
—
Lists

Codes

FormatValue
HEX#a702bc
RGBrgb(167 2 188)
HSLhsl(293.23 97.89% 37.25%)
OKLCHoklch(0.53 0.25 322.06)
CMYKcmyk(11.17% 98.94% 0% 26.27%)
Android#ffa702bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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