Skip to content
Vectorlight.net

#a754d8

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

HEX
#a754d8
RGB
167, 84, 216
HSL
277.73°, 62.86%, 58.82%
OKLCH
0.6 0.2 310.76
Names
—
Lists

Codes

FormatValue
HEX#a754d8
RGBrgb(167 84 216)
HSLhsl(277.73 62.86% 58.82%)
OKLCHoklch(0.6 0.2 310.76)
CMYKcmyk(22.69% 61.11% 0% 15.29%)
Android#ffa754d8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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