Skip to content
Vectorlight.net

#a866da

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

HEX
#a866da
RGB
168, 102, 218
HSL
274.14°, 61.05%, 62.75%
OKLCH
0.63 0.18 308.43
Names
—
Lists

Codes

FormatValue
HEX#a866da
RGBrgb(168 102 218)
HSLhsl(274.14 61.05% 62.75%)
OKLCHoklch(0.63 0.18 308.43)
CMYKcmyk(22.94% 53.21% 0% 14.51%)
Android#ffa866da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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