Skip to content
Vectorlight.net

#cc87da

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

HEX
#cc87da
RGB
204, 135, 218
HSL
289.88°, 52.87%, 69.22%
OKLCH
0.72 0.14 320.68
Names
—
Lists

Codes

FormatValue
HEX#cc87da
RGBrgb(204 135 218)
HSLhsl(289.88 52.87% 69.22%)
OKLCHoklch(0.72 0.14 320.68)
CMYKcmyk(6.42% 38.07% 0% 14.51%)
Android#ffcc87da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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