Skip to content
Vectorlight.net

#eb31e5

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

HEX
#eb31e5
RGB
235, 49, 229
HSL
301.94°, 82.3%, 55.69%
OKLCH
0.67 0.28 329.63
Names
—
Lists

Codes

FormatValue
HEX#eb31e5
RGBrgb(235 49 229)
HSLhsl(301.94 82.3% 55.69%)
OKLCHoklch(0.67 0.28 329.63)
CMYKcmyk(0% 79.15% 2.55% 7.84%)
Android#ffeb31e5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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