Skip to content
Vectorlight.net

#f2dfff

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

HEX
#f2dfff
RGB
242, 223, 255
HSL
275.63°, 100%, 93.73%
OKLCH
0.93 0.05 311.73
Names
—
Lists

Codes

FormatValue
HEX#f2dfff
RGBrgb(242 223 255)
HSLhsl(275.63 100% 93.73%)
OKLCHoklch(0.93 0.05 311.73)
CMYKcmyk(5.1% 12.55% 0% 0%)
Android#fff2dfff

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

Recolor an SVG with this color

CSS

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