Skip to content
Vectorlight.net

#f0deff

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

HEX
#f0deff
RGB
240, 222, 255
HSL
272.73°, 100%, 93.53%
OKLCH
0.93 0.05 309.77
Names
—
Lists

Codes

FormatValue
HEX#f0deff
RGBrgb(240 222 255)
HSLhsl(272.73 100% 93.53%)
OKLCHoklch(0.93 0.05 309.77)
CMYKcmyk(5.88% 12.94% 0% 0%)
Android#fff0deff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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