Skip to content
Vectorlight.net

#dec4fb

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

HEX
#dec4fb
RGB
222, 196, 251
HSL
268.36°, 87.3%, 87.65%
OKLCH
0.86 0.08 306.24
Names
—
Lists

Codes

FormatValue
HEX#dec4fb
RGBrgb(222 196 251)
HSLhsl(268.36 87.3% 87.65%)
OKLCHoklch(0.86 0.08 306.24)
CMYKcmyk(11.55% 21.91% 0% 1.57%)
Android#ffdec4fb

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

Recolor an SVG with this color

CSS

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