Skip to content
Vectorlight.net

#c871da

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

HEX
#c871da
RGB
200, 113, 218
HSL
289.71°, 58.66%, 64.9%
OKLCH
0.68 0.17 320.56
Names
—
Lists

Codes

FormatValue
HEX#c871da
RGBrgb(200 113 218)
HSLhsl(289.71 58.66% 64.9%)
OKLCHoklch(0.68 0.17 320.56)
CMYKcmyk(8.26% 48.17% 0% 14.51%)
Android#ffc871da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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