Skip to content
Vectorlight.net

#a787bc

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

HEX
#a787bc
RGB
167, 135, 188
HSL
276.23°, 28.34%, 63.33%
OKLCH
0.67 0.08 311.58
Names
—
Lists

Codes

FormatValue
HEX#a787bc
RGBrgb(167 135 188)
HSLhsl(276.23 28.34% 63.33%)
OKLCHoklch(0.67 0.08 311.58)
CMYKcmyk(11.17% 28.19% 0% 26.27%)
Android#ffa787bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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