Skip to content
Vectorlight.net

#f87cfd

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

HEX
#f87cfd
RGB
248, 124, 253
HSL
297.67°, 96.99%, 73.92%
OKLCH
0.77 0.21 325.93
Names
—
Lists

Codes

FormatValue
HEX#f87cfd
RGBrgb(248 124 253)
HSLhsl(297.67 96.99% 73.92%)
OKLCHoklch(0.77 0.21 325.93)
CMYKcmyk(1.98% 50.99% 0% 0.78%)
Android#fff87cfd

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.29: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="#f87cfd"
Gradient stop
<stop stop-color="#f87cfd"/>
CSS variable + fill
:root { --c: #f87cfd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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