Skip to content
Vectorlight.net

#a87ded

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

HEX
#a87ded
RGB
168, 125, 237
HSL
263.04°, 75.68%, 70.98%
OKLCH
0.68 0.16 299.76
Names
—
Lists

Codes

FormatValue
HEX#a87ded
RGBrgb(168 125 237)
HSLhsl(263.04 75.68% 70.98%)
OKLCHoklch(0.68 0.16 299.76)
CMYKcmyk(29.11% 47.26% 0% 7.06%)
Android#ffa87ded

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.82: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="#a87ded"
Gradient stop
<stop stop-color="#a87ded"/>
CSS variable + fill
:root { --c: #a87ded; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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