Skip to content
Vectorlight.net

#a857dc

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

HEX
#a857dc
RGB
168, 87, 220
HSL
276.54°, 65.52%, 60.2%
OKLCH
0.61 0.2 309.8
Names
—
Lists

Codes

FormatValue
HEX#a857dc
RGBrgb(168 87 220)
HSLhsl(276.54 65.52% 60.2%)
OKLCHoklch(0.61 0.2 309.8)
CMYKcmyk(23.64% 60.45% 0% 13.73%)
Android#ffa857dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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