Skip to content
Vectorlight.net

#f2c8fd

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

HEX
#f2c8fd
RGB
242, 200, 253
HSL
287.55°, 92.98%, 88.82%
OKLCH
0.89 0.08 319.19
Names
—
Lists

Codes

FormatValue
HEX#f2c8fd
RGBrgb(242 200 253)
HSLhsl(287.55 92.98% 88.82%)
OKLCHoklch(0.89 0.08 319.19)
CMYKcmyk(4.35% 20.95% 0% 0.78%)
Android#fff2c8fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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