Skip to content
Vectorlight.net

#ffdefc

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

HEX
#ffdefc
RGB
255, 222, 252
HSL
305.45°, 100%, 93.53%
OKLCH
0.94 0.05 328.9
Names
—
Lists

Codes

FormatValue
HEX#ffdefc
RGBrgb(255 222 252)
HSLhsl(305.45 100% 93.53%)
OKLCHoklch(0.94 0.05 328.9)
CMYKcmyk(0% 12.94% 1.18% 0%)
Android#ffffdefc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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