Skip to content
Vectorlight.net

#eb51cc

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

HEX
#eb51cc
RGB
235, 81, 204
HSL
312.08°, 79.38%, 61.96%
OKLCH
0.68 0.23 336.78
Names
—
Lists

Codes

FormatValue
HEX#eb51cc
RGBrgb(235 81 204)
HSLhsl(312.08 79.38% 61.96%)
OKLCHoklch(0.68 0.23 336.78)
CMYKcmyk(0% 65.53% 13.19% 7.84%)
Android#ffeb51cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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