Skip to content
Vectorlight.net

#a87fba

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

HEX
#a87fba
RGB
168, 127, 186
HSL
281.69°, 29.95%, 61.37%
OKLCH
0.66 0.1 315.27
Names
—
Lists

Codes

FormatValue
HEX#a87fba
RGBrgb(168 127 186)
HSLhsl(281.69 29.95% 61.37%)
OKLCHoklch(0.66 0.1 315.27)
CMYKcmyk(9.68% 31.72% 0% 27.06%)
Android#ffa87fba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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