Skip to content
Vectorlight.net

#ecaefd

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

HEX
#ecaefd
RGB
236, 174, 253
HSL
287.09°, 95.18%, 83.73%
OKLCH
0.83 0.13 318.87
Names
—
Lists

Codes

FormatValue
HEX#ecaefd
RGBrgb(236 174 253)
HSLhsl(287.09 95.18% 83.73%)
OKLCHoklch(0.83 0.13 318.87)
CMYKcmyk(6.72% 31.23% 0% 0.78%)
Android#ffecaefd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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