Skip to content
Vectorlight.net

#eb31dc

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

HEX
#eb31dc
RGB
235, 49, 220
HSL
304.84°, 82.3%, 55.69%
OKLCH
0.67 0.27 331.92
Names
—
Lists

Codes

FormatValue
HEX#eb31dc
RGBrgb(235 49 220)
HSLhsl(304.84 82.3% 55.69%)
OKLCHoklch(0.67 0.27 331.92)
CMYKcmyk(0% 79.15% 6.38% 7.84%)
Android#ffeb31dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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