Skip to content
Vectorlight.net

#a87cbc

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

HEX
#a87cbc
RGB
168, 124, 188
HSL
281.25°, 32.32%, 61.18%
OKLCH
0.65 0.1 314.9
Names
—
Lists

Codes

FormatValue
HEX#a87cbc
RGBrgb(168 124 188)
HSLhsl(281.25 32.32% 61.18%)
OKLCHoklch(0.65 0.1 314.9)
CMYKcmyk(10.64% 34.04% 0% 26.27%)
Android#ffa87cbc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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