Skip to content
Vectorlight.net

#ffdefa

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

HEX
#ffdefa
RGB
255, 222, 250
HSL
309.09°, 100%, 93.53%
OKLCH
0.94 0.05 330.99
Names
—
Lists

Codes

FormatValue
HEX#ffdefa
RGBrgb(255 222 250)
HSLhsl(309.09 100% 93.53%)
OKLCHoklch(0.94 0.05 330.99)
CMYKcmyk(0% 12.94% 1.96% 0%)
Android#ffffdefa

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

Recolor an SVG with this color

CSS

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