Skip to content
Vectorlight.net

#dec7f5

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

HEX
#dec7f5
RGB
222, 199, 245
HSL
270°, 69.7%, 87.06%
OKLCH
0.86 0.07 307.6
Names
—
Lists

Codes

FormatValue
HEX#dec7f5
RGBrgb(222 199 245)
HSLhsl(270 69.7% 87.06%)
OKLCHoklch(0.86 0.07 307.6)
CMYKcmyk(9.39% 18.78% 0% 3.92%)
Android#ffdec7f5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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