Skip to content
Vectorlight.net

#f260dc

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

HEX
#f260dc
RGB
242, 96, 220
HSL
309.04°, 84.88%, 66.27%
OKLCH
0.72 0.22 334.02
Names
—
Lists

Codes

FormatValue
HEX#f260dc
RGBrgb(242 96 220)
HSLhsl(309.04 84.88% 66.27%)
OKLCHoklch(0.72 0.22 334.02)
CMYKcmyk(0% 60.33% 9.09% 5.1%)
Android#fff260dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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