Skip to content
Vectorlight.net

#a86fdc

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

HEX
#a86fdc
RGB
168, 111, 220
HSL
271.38°, 60.89%, 64.9%
OKLCH
0.65 0.17 306.48
Names
—
Lists

Codes

FormatValue
HEX#a86fdc
RGBrgb(168 111 220)
HSLhsl(271.38 60.89% 64.9%)
OKLCHoklch(0.65 0.17 306.48)
CMYKcmyk(23.64% 49.55% 0% 13.73%)
Android#ffa86fdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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