Skip to content
Vectorlight.net

#e397f0

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

HEX
#e397f0
RGB
227, 151, 240
HSL
291.24°, 74.79%, 76.67%
OKLCH
0.78 0.15 321.55
Names
—
Lists

Codes

FormatValue
HEX#e397f0
RGBrgb(227 151 240)
HSLhsl(291.24 74.79% 76.67%)
OKLCHoklch(0.78 0.15 321.55)
CMYKcmyk(5.42% 37.08% 0% 5.88%)
Android#ffe397f0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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