Skip to content
Vectorlight.net

#f2dffc

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

HEX
#f2dffc
RGB
242, 223, 252
HSL
279.31°, 82.86%, 93.14%
OKLCH
0.93 0.04 314.16
Names
—
Lists

Codes

FormatValue
HEX#f2dffc
RGBrgb(242 223 252)
HSLhsl(279.31 82.86% 93.14%)
OKLCHoklch(0.93 0.04 314.16)
CMYKcmyk(3.97% 11.51% 0% 1.18%)
Android#fff2dffc

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

Recolor an SVG with this color

CSS

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