Skip to content
Vectorlight.net

#cc92ec

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

HEX
#cc92ec
RGB
204, 146, 236
HSL
278.67°, 70.31%, 74.9%
OKLCH
0.75 0.14 312.9
Names
—
Lists

Codes

FormatValue
HEX#cc92ec
RGBrgb(204 146 236)
HSLhsl(278.67 70.31% 74.9%)
OKLCHoklch(0.75 0.14 312.9)
CMYKcmyk(13.56% 38.14% 0% 7.45%)
Android#ffcc92ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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