Skip to content
Vectorlight.net

#f2e5ff

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

HEX
#f2e5ff
RGB
242, 229, 255
HSL
270°, 100%, 94.9%
OKLCH
0.94 0.04 308.02
Names
—
Lists

Codes

FormatValue
HEX#f2e5ff
RGBrgb(242 229 255)
HSLhsl(270 100% 94.9%)
OKLCHoklch(0.94 0.04 308.02)
CMYKcmyk(5.1% 10.2% 0% 0%)
Android#fff2e5ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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