Skip to content
Vectorlight.net

#f2dffe

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

HEX
#f2dffe
RGB
242, 223, 254
HSL
276.77°, 93.94%, 93.53%
OKLCH
0.93 0.05 312.5
Names
—
Lists

Codes

FormatValue
HEX#f2dffe
RGBrgb(242 223 254)
HSLhsl(276.77 93.94% 93.53%)
OKLCHoklch(0.93 0.05 312.5)
CMYKcmyk(4.72% 12.2% 0% 0.39%)
Android#fff2dffe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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