Skip to content
Vectorlight.net

#f261fb

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

HEX
#f261fb
RGB
242, 97, 251
HSL
296.49°, 95.06%, 68.24%
OKLCH
0.73 0.25 325.35
Names
—
Lists

Codes

FormatValue
HEX#f261fb
RGBrgb(242 97 251)
HSLhsl(296.49 95.06% 68.24%)
OKLCHoklch(0.73 0.25 325.35)
CMYKcmyk(3.59% 61.35% 0% 1.57%)
Android#fff261fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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