Skip to content
Vectorlight.net

#f997ec

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

HEX
#f997ec
RGB
249, 151, 236
HSL
307.96°, 89.09%, 78.43%
OKLCH
0.8 0.16 331.86
Names
—
Lists

Codes

FormatValue
HEX#f997ec
RGBrgb(249 151 236)
HSLhsl(307.96 89.09% 78.43%)
OKLCHoklch(0.8 0.16 331.86)
CMYKcmyk(0% 39.36% 5.22% 2.35%)
Android#fff997ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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