Skip to content
Vectorlight.net

#a54cbd

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

HEX
#a54cbd
RGB
165, 76, 189
HSL
287.26°, 46.12%, 51.96%
OKLCH
0.58 0.18 318.59
Names
—
Lists

Codes

FormatValue
HEX#a54cbd
RGBrgb(165 76 189)
HSLhsl(287.26 46.12% 51.96%)
OKLCHoklch(0.58 0.18 318.59)
CMYKcmyk(12.7% 59.79% 0% 25.88%)
Android#ffa54cbd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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