Skip to content
Vectorlight.net

#f56ffa

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

HEX
#f56ffa
RGB
245, 111, 250
HSL
297.84°, 93.29%, 70.78%
OKLCH
0.75 0.23 326.16
Names
—
Lists

Codes

FormatValue
HEX#f56ffa
RGBrgb(245 111 250)
HSLhsl(297.84 93.29% 70.78%)
OKLCHoklch(0.75 0.23 326.16)
CMYKcmyk(2% 55.6% 0% 1.96%)
Android#fff56ffa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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