Skip to content
Vectorlight.net

#f997dc

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

HEX
#f997dc
RGB
249, 151, 220
HSL
317.76°, 89.09%, 78.43%
OKLCH
0.8 0.14 338.82
Names
—
Lists

Codes

FormatValue
HEX#f997dc
RGBrgb(249 151 220)
HSLhsl(317.76 89.09% 78.43%)
OKLCHoklch(0.8 0.14 338.82)
CMYKcmyk(0% 39.36% 11.65% 2.35%)
Android#fff997dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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