Skip to content
Vectorlight.net

#cb87df

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

HEX
#cb87df
RGB
203, 135, 223
HSL
286.36°, 57.89%, 70.2%
OKLCH
0.72 0.14 318.31
Names
—
Lists

Codes

FormatValue
HEX#cb87df
RGBrgb(203 135 223)
HSLhsl(286.36 57.89% 70.2%)
OKLCHoklch(0.72 0.14 318.31)
CMYKcmyk(8.97% 39.46% 0% 12.55%)
Android#ffcb87df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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