Skip to content
Vectorlight.net

#fc42ef

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

HEX
#fc42ef
RGB
252, 66, 239
HSL
304.19°, 96.88%, 62.35%
OKLCH
0.71 0.28 331.18
Names
—
Lists

Codes

FormatValue
HEX#fc42ef
RGBrgb(252 66 239)
HSLhsl(304.19 96.88% 62.35%)
OKLCHoklch(0.71 0.28 331.18)
CMYKcmyk(0% 73.81% 5.16% 1.18%)
Android#fffc42ef

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

Recolor an SVG with this color

CSS

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