Skip to content
Vectorlight.net

#a754bc

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

HEX
#a754bc
RGB
167, 84, 188
HSL
287.88°, 43.7%, 53.33%
OKLCH
0.59 0.17 319.17
Names
—
Lists

Codes

FormatValue
HEX#a754bc
RGBrgb(167 84 188)
HSLhsl(287.88 43.7% 53.33%)
OKLCHoklch(0.59 0.17 319.17)
CMYKcmyk(11.17% 55.32% 0% 26.27%)
Android#ffa754bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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