Skip to content
Vectorlight.net

#a866bd

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

HEX
#a866bd
RGB
168, 102, 189
HSL
285.52°, 39.73%, 57.06%
OKLCH
0.62 0.14 317.63
Names
—
Lists

Codes

FormatValue
HEX#a866bd
RGBrgb(168 102 189)
HSLhsl(285.52 39.73% 57.06%)
OKLCHoklch(0.62 0.14 317.63)
CMYKcmyk(11.11% 46.03% 0% 25.88%)
Android#ffa866bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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