Skip to content
Vectorlight.net

#f97cfd

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

HEX
#f97cfd
RGB
249, 124, 253
HSL
298.14°, 96.99%, 73.92%
OKLCH
0.77 0.22 326.23
Names
—
Lists

Codes

FormatValue
HEX#f97cfd
RGBrgb(249 124 253)
HSLhsl(298.14 96.99% 73.92%)
OKLCHoklch(0.77 0.22 326.23)
CMYKcmyk(1.58% 50.99% 0% 0.78%)
Android#fff97cfd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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