Skip to content
Vectorlight.net

#a877dd

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

HEX
#a877dd
RGB
168, 119, 221
HSL
268.82°, 60%, 66.67%
OKLCH
0.66 0.15 304.72
Names
—
Lists

Codes

FormatValue
HEX#a877dd
RGBrgb(168 119 221)
HSLhsl(268.82 60% 66.67%)
OKLCHoklch(0.66 0.15 304.72)
CMYKcmyk(23.98% 46.15% 0% 13.33%)
Android#ffa877dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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