Skip to content
Vectorlight.net

#a545e4

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

HEX
#a545e4
RGB
165, 69, 228
HSL
276.23°, 74.65%, 58.24%
OKLCH
0.59 0.23 308.49
Names
—
Lists

Codes

FormatValue
HEX#a545e4
RGBrgb(165 69 228)
HSLhsl(276.23 74.65% 58.24%)
OKLCHoklch(0.59 0.23 308.49)
CMYKcmyk(27.63% 69.74% 0% 10.59%)
Android#ffa545e4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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