Skip to content
Vectorlight.net

#cf87ca

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

HEX
#cf87ca
RGB
207, 135, 202
HSL
304.17°, 42.86%, 67.06%
OKLCH
0.72 0.12 329.21
Names
—
Lists

Codes

FormatValue
HEX#cf87ca
RGBrgb(207 135 202)
HSLhsl(304.17 42.86% 67.06%)
OKLCHoklch(0.72 0.12 329.21)
CMYKcmyk(0% 34.78% 2.42% 18.82%)
Android#ffcf87ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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