Skip to content
Vectorlight.net

#dec4f7

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

HEX
#dec4f7
RGB
222, 196, 247
HSL
270.59°, 76.12%, 86.86%
OKLCH
0.86 0.07 307.92
Names
—
Lists

Codes

FormatValue
HEX#dec4f7
RGBrgb(222 196 247)
HSLhsl(270.59 76.12% 86.86%)
OKLCHoklch(0.86 0.07 307.92)
CMYKcmyk(10.12% 20.65% 0% 3.14%)
Android#ffdec4f7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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