Skip to content
Vectorlight.net

#fc42eb

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

HEX
#fc42eb
RGB
252, 66, 235
HSL
305.48°, 96.88%, 62.35%
OKLCH
0.71 0.28 332.18
Names
—
Lists

Codes

FormatValue
HEX#fc42eb
RGBrgb(252 66 235)
HSLhsl(305.48 96.88% 62.35%)
OKLCHoklch(0.71 0.28 332.18)
CMYKcmyk(0% 73.81% 6.75% 1.18%)
Android#fffc42eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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