Skip to content
Vectorlight.net

#dec4fe

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

HEX
#dec4fe
RGB
222, 196, 254
HSL
266.9°, 96.67%, 88.24%
OKLCH
0.86 0.08 305.1
Names
—
Lists

Codes

FormatValue
HEX#dec4fe
RGBrgb(222 196 254)
HSLhsl(266.9 96.67% 88.24%)
OKLCHoklch(0.86 0.08 305.1)
CMYKcmyk(12.6% 22.83% 0% 0.39%)
Android#ffdec4fe

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.43: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="#dec4fe"
Gradient stop
<stop stop-color="#dec4fe"/>
CSS variable + fill
:root { --c: #dec4fe; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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