Skip to content
Vectorlight.net

#a45faf

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

HEX
#a45faf
RGB
164, 95, 175
HSL
291.75°, 33.33%, 52.94%
OKLCH
0.59 0.14 321.94
Names
—
Lists

Codes

FormatValue
HEX#a45faf
RGBrgb(164 95 175)
HSLhsl(291.75 33.33% 52.94%)
OKLCHoklch(0.59 0.14 321.94)
CMYKcmyk(6.29% 45.71% 0% 31.37%)
Android#ffa45faf

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.34:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.83:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#a45faf"
Gradient stop
<stop stop-color="#a45faf"/>
CSS variable + fill
:root { --c: #a45faf; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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