Skip to content
Vectorlight.net

#e252ff

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

HEX
#e252ff
RGB
226, 82, 255
HSL
289.94°, 100%, 66.08%
OKLCH
0.7 0.26 320.44
Names
—
Lists

Codes

FormatValue
HEX#e252ff
RGBrgb(226 82 255)
HSLhsl(289.94 100% 66.08%)
OKLCHoklch(0.7 0.26 320.44)
CMYKcmyk(11.37% 67.84% 0% 0%)
Android#ffe252ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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