Skip to content
Vectorlight.net

#f252ee

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

HEX
#f252ee
RGB
242, 82, 238
HSL
301.5°, 86.02%, 63.53%
OKLCH
0.71 0.26 328.91
Names
—
Lists

Codes

FormatValue
HEX#f252ee
RGBrgb(242 82 238)
HSLhsl(301.5 86.02% 63.53%)
OKLCHoklch(0.71 0.26 328.91)
CMYKcmyk(0% 66.12% 1.65% 5.1%)
Android#fff252ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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