Skip to content
Vectorlight.net

#a87feb

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

HEX
#a87feb
RGB
168, 127, 235
HSL
262.78°, 72.97%, 70.98%
OKLCH
0.68 0.16 299.72
Names
—
Lists

Codes

FormatValue
HEX#a87feb
RGBrgb(168 127 235)
HSLhsl(262.78 72.97% 70.98%)
OKLCHoklch(0.68 0.16 299.72)
CMYKcmyk(28.51% 45.96% 0% 7.84%)
Android#ffa87feb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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