Skip to content
Vectorlight.net

#decaf5

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

HEX
#decaf5
RGB
222, 202, 245
HSL
267.91°, 68.25%, 87.65%
OKLCH
0.87 0.06 306.17
Names
—
Lists

Codes

FormatValue
HEX#decaf5
RGBrgb(222 202 245)
HSLhsl(267.91 68.25% 87.65%)
OKLCHoklch(0.87 0.06 306.17)
CMYKcmyk(9.39% 17.55% 0% 3.92%)
Android#ffdecaf5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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