Skip to content
Vectorlight.net

#a545bc

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

HEX
#a545bc
RGB
165, 69, 188
HSL
288.4°, 47.04%, 50.39%
OKLCH
0.57 0.19 319.38
Names
—
Lists

Codes

FormatValue
HEX#a545bc
RGBrgb(165 69 188)
HSLhsl(288.4 47.04% 50.39%)
OKLCHoklch(0.57 0.19 319.38)
CMYKcmyk(12.23% 63.3% 0% 26.27%)
Android#ffa545bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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