Skip to content
Vectorlight.net

#f260dd

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

HEX
#f260dd
RGB
242, 96, 221
HSL
308.63°, 84.88%, 66.27%
OKLCH
0.72 0.23 333.71
Names
—
Lists

Codes

FormatValue
HEX#f260dd
RGBrgb(242 96 221)
HSLhsl(308.63 84.88% 66.27%)
OKLCHoklch(0.72 0.23 333.71)
CMYKcmyk(0% 60.33% 8.68% 5.1%)
Android#fff260dd

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

Recolor an SVG with this color

CSS

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