Skip to content
Vectorlight.net

#a87bdb

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

HEX
#a87bdb
RGB
168, 123, 219
HSL
268.13°, 57.14%, 67.06%
OKLCH
0.67 0.14 304.38
Names
—
Lists

Codes

FormatValue
HEX#a87bdb
RGBrgb(168 123 219)
HSLhsl(268.13 57.14% 67.06%)
OKLCHoklch(0.67 0.14 304.38)
CMYKcmyk(23.29% 43.84% 0% 14.12%)
Android#ffa87bdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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