Skip to content
Vectorlight.net

#c166dc

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

HEX
#c166dc
RGB
193, 102, 220
HSL
286.27°, 62.77%, 63.14%
OKLCH
0.66 0.19 318
Names
—
Lists

Codes

FormatValue
HEX#c166dc
RGBrgb(193 102 220)
HSLhsl(286.27 62.77% 63.14%)
OKLCHoklch(0.66 0.19 318)
CMYKcmyk(12.27% 53.64% 0% 13.73%)
Android#ffc166dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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