Skip to content
Vectorlight.net

#dec2fc

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

HEX
#dec2fc
RGB
222, 194, 252
HSL
268.97°, 90.63%, 87.45%
OKLCH
0.86 0.08 306.61
Names
—
Lists

Codes

FormatValue
HEX#dec2fc
RGBrgb(222 194 252)
HSLhsl(268.97 90.63% 87.45%)
OKLCHoklch(0.86 0.08 306.61)
CMYKcmyk(11.9% 23.02% 0% 1.18%)
Android#ffdec2fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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