Skip to content
Vectorlight.net

#f047ff

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

HEX
#f047ff
RGB
240, 71, 255
HSL
295.11°, 100%, 63.92%
OKLCH
0.71 0.28 324.4
Names
—
Lists

Codes

FormatValue
HEX#f047ff
RGBrgb(240 71 255)
HSLhsl(295.11 100% 63.92%)
OKLCHoklch(0.71 0.28 324.4)
CMYKcmyk(5.88% 72.16% 0% 0%)
Android#fff047ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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