Skip to content
Vectorlight.net

#a421bd

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

HEX
#a421bd
RGB
164, 33, 189
HSL
290.38°, 70.27%, 43.53%
OKLCH
0.53 0.23 320.3
Names
—
Lists

Codes

FormatValue
HEX#a421bd
RGBrgb(164 33 189)
HSLhsl(290.38 70.27% 43.53%)
OKLCHoklch(0.53 0.23 320.3)
CMYKcmyk(13.23% 82.54% 0% 25.88%)
Android#ffa421bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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