Skip to content
Vectorlight.net

#f249ff

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

HEX
#f249ff
RGB
242, 73, 255
HSL
295.71°, 100%, 64.31%
OKLCH
0.71 0.28 324.86
Names
—
Lists

Codes

FormatValue
HEX#f249ff
RGBrgb(242 73 255)
HSLhsl(295.71 100% 64.31%)
OKLCHoklch(0.71 0.28 324.86)
CMYKcmyk(5.1% 71.37% 0% 0%)
Android#fff249ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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