Skip to content
Vectorlight.net

#f249fd

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

HEX
#f249fd
RGB
242, 73, 253
HSL
296.33°, 97.83%, 63.92%
OKLCH
0.71 0.28 325.33
Names
—
Lists

Codes

FormatValue
HEX#f249fd
RGBrgb(242 73 253)
HSLhsl(296.33 97.83% 63.92%)
OKLCHoklch(0.71 0.28 325.33)
CMYKcmyk(4.35% 71.15% 0% 0.78%)
Android#fff249fd

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

Recolor an SVG with this color

CSS

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