Skip to content
Vectorlight.net

#a781bf

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

HEX
#a781bf
RGB
167, 129, 191
HSL
276.77°, 32.63%, 62.75%
OKLCH
0.66 0.1 311.79
Names
—
Lists

Codes

FormatValue
HEX#a781bf
RGBrgb(167 129 191)
HSLhsl(276.77 32.63% 62.75%)
OKLCHoklch(0.66 0.1 311.79)
CMYKcmyk(12.57% 32.46% 0% 25.1%)
Android#ffa781bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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