Skip to content
Vectorlight.net

#fc98fd

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

HEX
#fc98fd
RGB
252, 152, 253
HSL
299.41°, 96.19%, 79.41%
OKLCH
0.82 0.17 326.66
Names
—
Lists

Codes

FormatValue
HEX#fc98fd
RGBrgb(252 152 253)
HSLhsl(299.41 96.19% 79.41%)
OKLCHoklch(0.82 0.17 326.66)
CMYKcmyk(0.4% 39.92% 0% 0.78%)
Android#fffc98fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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