Skip to content
Vectorlight.net

#f875fb

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

HEX
#f875fb
RGB
248, 117, 251
HSL
298.66°, 94.37%, 72.16%
OKLCH
0.76 0.22 326.63
Names
—
Lists

Codes

FormatValue
HEX#f875fb
RGBrgb(248 117 251)
HSLhsl(298.66 94.37% 72.16%)
OKLCHoklch(0.76 0.22 326.63)
CMYKcmyk(1.2% 53.39% 0% 1.57%)
Android#fff875fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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