Skip to content
Vectorlight.net

#ecbafb

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

HEX
#ecbafb
RGB
236, 186, 251
HSL
286.15°, 89.04%, 85.69%
OKLCH
0.85 0.1 318.3
Names
—
Lists

Codes

FormatValue
HEX#ecbafb
RGBrgb(236 186 251)
HSLhsl(286.15 89.04% 85.69%)
OKLCHoklch(0.85 0.1 318.3)
CMYKcmyk(5.98% 25.9% 0% 1.57%)
Android#ffecbafb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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