Skip to content
Vectorlight.net

#ecbef4

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

HEX
#ecbef4
RGB
236, 190, 244
HSL
291.11°, 71.05%, 85.1%
OKLCH
0.86 0.09 321.34
Names
—
Lists

Codes

FormatValue
HEX#ecbef4
RGBrgb(236 190 244)
HSLhsl(291.11 71.05% 85.1%)
OKLCHoklch(0.86 0.09 321.34)
CMYKcmyk(3.28% 22.13% 0% 4.31%)
Android#ffecbef4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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