Skip to content
Vectorlight.net

#a387cc

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

HEX
#a387cc
RGB
163, 135, 204
HSL
264.35°, 40.35%, 66.47%
OKLCH
0.68 0.1 302.35
Names
—
Lists

Codes

FormatValue
HEX#a387cc
RGBrgb(163 135 204)
HSLhsl(264.35 40.35% 66.47%)
OKLCHoklch(0.68 0.1 302.35)
CMYKcmyk(20.1% 33.82% 0% 20%)
Android#ffa387cc

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

Recolor an SVG with this color

CSS

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