Skip to content
Vectorlight.net

#ef4afe

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

HEX
#ef4afe
RGB
239, 74, 254
HSL
295°, 98.9%, 64.31%
OKLCH
0.71 0.28 324.32
Names
—
Lists

Codes

FormatValue
HEX#ef4afe
RGBrgb(239 74 254)
HSLhsl(295 98.9% 64.31%)
OKLCHoklch(0.71 0.28 324.32)
CMYKcmyk(5.91% 70.87% 0% 0.39%)
Android#ffef4afe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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