Skip to content
Vectorlight.net

#e238dc

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

HEX
#e238dc
RGB
226, 56, 220
HSL
302.12°, 74.56%, 55.29%
OKLCH
0.66 0.26 329.65
Names
—
Lists

Codes

FormatValue
HEX#e238dc
RGBrgb(226 56 220)
HSLhsl(302.12 74.56% 55.29%)
OKLCHoklch(0.66 0.26 329.65)
CMYKcmyk(0% 75.22% 2.65% 11.37%)
Android#ffe238dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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