Skip to content
Vectorlight.net

#f24bfa

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

HEX
#f24bfa
RGB
242, 75, 250
HSL
297.26°, 94.59%, 63.73%
OKLCH
0.71 0.27 326
Names
—
Lists

Codes

FormatValue
HEX#f24bfa
RGBrgb(242 75 250)
HSLhsl(297.26 94.59% 63.73%)
OKLCHoklch(0.71 0.27 326)
CMYKcmyk(3.2% 70% 0% 1.96%)
Android#fff24bfa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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