Skip to content
Vectorlight.net

#cc87bf

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

HEX
#cc87bf
RGB
204, 135, 191
HSL
311.3°, 40.35%, 66.47%
OKLCH
0.71 0.11 333.69
Names
—
Lists

Codes

FormatValue
HEX#cc87bf
RGBrgb(204 135 191)
HSLhsl(311.3 40.35% 66.47%)
OKLCHoklch(0.71 0.11 333.69)
CMYKcmyk(0% 33.82% 6.37% 20%)
Android#ffcc87bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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