Skip to content
Vectorlight.net

#a451bd

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

HEX
#a451bd
RGB
164, 81, 189
HSL
286.11°, 45%, 52.94%
OKLCH
0.58 0.18 317.79
Names
—
Lists

Codes

FormatValue
HEX#a451bd
RGBrgb(164 81 189)
HSLhsl(286.11 45% 52.94%)
OKLCHoklch(0.58 0.18 317.79)
CMYKcmyk(13.23% 57.14% 0% 25.88%)
Android#ffa451bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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