Skip to content
Vectorlight.net

#c66ffa

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

HEX
#c66ffa
RGB
198, 111, 250
HSL
277.55°, 93.29%, 70.78%
OKLCH
0.7 0.21 311.03
Names
—
Lists

Codes

FormatValue
HEX#c66ffa
RGBrgb(198 111 250)
HSLhsl(277.55 93.29% 70.78%)
OKLCHoklch(0.7 0.21 311.03)
CMYKcmyk(20.8% 55.6% 0% 1.96%)
Android#ffc66ffa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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