Skip to content
Vectorlight.net

#eb51e2

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

HEX
#eb51e2
RGB
235, 81, 226
HSL
303.51°, 79.38%, 61.96%
OKLCH
0.69 0.24 330.29
Names
—
Lists

Codes

FormatValue
HEX#eb51e2
RGBrgb(235 81 226)
HSLhsl(303.51 79.38% 61.96%)
OKLCHoklch(0.69 0.24 330.29)
CMYKcmyk(0% 65.53% 3.83% 7.84%)
Android#ffeb51e2

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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