Skip to content
Vectorlight.net

#f866dc

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

HEX
#f866dc
RGB
248, 102, 220
HSL
311.51°, 91.25%, 68.63%
OKLCH
0.73 0.22 335.78
Names
—
Lists

Codes

FormatValue
HEX#f866dc
RGBrgb(248 102 220)
HSLhsl(311.51 91.25% 68.63%)
OKLCHoklch(0.73 0.22 335.78)
CMYKcmyk(0% 58.87% 11.29% 2.75%)
Android#fff866dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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