Skip to content
Vectorlight.net

#cec9fe

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

HEX
#cec9fe
RGB
206, 201, 254
HSL
245.66°, 96.36%, 89.22%
OKLCH
0.86 0.07 289.08
Names
—
Lists

Codes

FormatValue
HEX#cec9fe
RGBrgb(206 201 254)
HSLhsl(245.66 96.36% 89.22%)
OKLCHoklch(0.86 0.07 289.08)
CMYKcmyk(18.9% 20.87% 0% 0.39%)
Android#ffcec9fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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