Skip to content
Vectorlight.net

#a545dc

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

HEX
#a545dc
RGB
165, 69, 220
HSL
278.15°, 68.33%, 56.67%
OKLCH
0.59 0.22 310.4
Names
—
Lists

Codes

FormatValue
HEX#a545dc
RGBrgb(165 69 220)
HSLhsl(278.15 68.33% 56.67%)
OKLCHoklch(0.59 0.22 310.4)
CMYKcmyk(25% 68.64% 0% 13.73%)
Android#ffa545dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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