Skip to content
Vectorlight.net

#e4b4fa

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

HEX
#e4b4fa
RGB
228, 180, 250
HSL
281.14°, 87.5%, 84.31%
OKLCH
0.84 0.11 314.97
Names
—
Lists

Codes

FormatValue
HEX#e4b4fa
RGBrgb(228 180 250)
HSLhsl(281.14 87.5% 84.31%)
OKLCHoklch(0.84 0.11 314.97)
CMYKcmyk(8.8% 28% 0% 1.96%)
Android#ffe4b4fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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