Skip to content
Vectorlight.net

#c0afe2

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

HEX
#c0afe2
RGB
192, 175, 226
HSL
260°, 46.79%, 78.63%
OKLCH
0.79 0.07 299.97
Names
—
Lists

Codes

FormatValue
HEX#c0afe2
RGBrgb(192 175 226)
HSLhsl(260 46.79% 78.63%)
OKLCHoklch(0.79 0.07 299.97)
CMYKcmyk(15.04% 22.57% 0% 11.37%)
Android#ffc0afe2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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