Skip to content
Vectorlight.net

#a802bd

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

HEX
#a802bd
RGB
168, 2, 189
HSL
293.26°, 97.91%, 37.45%
OKLCH
0.53 0.25 322.09
Names
—
Lists

Codes

FormatValue
HEX#a802bd
RGBrgb(168 2 189)
HSLhsl(293.26 97.91% 37.45%)
OKLCHoklch(0.53 0.25 322.09)
CMYKcmyk(11.11% 98.94% 0% 25.88%)
Android#ffa802bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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