Skip to content
Vectorlight.net

#c87ffe

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

HEX
#c87ffe
RGB
200, 127, 254
HSL
274.49°, 98.45%, 74.71%
OKLCH
0.72 0.19 308.96
Names
—
Lists

Codes

FormatValue
HEX#c87ffe
RGBrgb(200 127 254)
HSLhsl(274.49 98.45% 74.71%)
OKLCHoklch(0.72 0.19 308.96)
CMYKcmyk(21.26% 50% 0% 0.39%)
Android#ffc87ffe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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