Skip to content
Vectorlight.net

#cc87fd

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

HEX
#cc87fd
RGB
204, 135, 253
HSL
275.08°, 96.72%, 76.08%
OKLCH
0.74 0.18 309.69
Names
—
Lists

Codes

FormatValue
HEX#cc87fd
RGBrgb(204 135 253)
HSLhsl(275.08 96.72% 76.08%)
OKLCHoklch(0.74 0.18 309.69)
CMYKcmyk(19.37% 46.64% 0% 0.78%)
Android#ffcc87fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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