Skip to content
Vectorlight.net

#c866fa

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

HEX
#c866fa
RGB
200, 102, 250
HSL
279.73°, 93.67%, 69.02%
OKLCH
0.69 0.22 312.56
Names
—
Lists

Codes

FormatValue
HEX#c866fa
RGBrgb(200 102 250)
HSLhsl(279.73 93.67% 69.02%)
OKLCHoklch(0.69 0.22 312.56)
CMYKcmyk(20% 59.2% 0% 1.96%)
Android#ffc866fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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