Skip to content
Vectorlight.net

#dec2f7

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

HEX
#dec2f7
RGB
222, 194, 247
HSL
271.7°, 76.81%, 86.47%
OKLCH
0.85 0.08 308.66
Names
—
Lists

Codes

FormatValue
HEX#dec2f7
RGBrgb(222 194 247)
HSLhsl(271.7 76.81% 86.47%)
OKLCHoklch(0.85 0.08 308.66)
CMYKcmyk(10.12% 21.46% 0% 3.14%)
Android#ffdec2f7

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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