Skip to content
Vectorlight.net

#f78afa

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

HEX
#f78afa
RGB
247, 138, 250
HSL
298.39°, 91.8%, 76.08%
OKLCH
0.79 0.19 326.21
Names
—
Lists

Codes

FormatValue
HEX#f78afa
RGBrgb(247 138 250)
HSLhsl(298.39 91.8% 76.08%)
OKLCHoklch(0.79 0.19 326.21)
CMYKcmyk(1.2% 44.8% 0% 1.96%)
Android#fff78afa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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