Skip to content
Vectorlight.net

#f2cefe

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

HEX
#f2cefe
RGB
242, 206, 254
HSL
285°, 96%, 90.2%
OKLCH
0.9 0.08 317.62
Names
—
Lists

Codes

FormatValue
HEX#f2cefe
RGBrgb(242 206 254)
HSLhsl(285 96% 90.2%)
OKLCHoklch(0.9 0.08 317.62)
CMYKcmyk(4.72% 18.9% 0% 0.39%)
Android#fff2cefe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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