Skip to content
Vectorlight.net

#ecc8ff

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

HEX
#ecc8ff
RGB
236, 200, 255
HSL
279.27°, 100%, 89.22%
OKLCH
0.88 0.08 313.88
Names
—
Lists

Codes

FormatValue
HEX#ecc8ff
RGBrgb(236 200 255)
HSLhsl(279.27 100% 89.22%)
OKLCHoklch(0.88 0.08 313.88)
CMYKcmyk(7.45% 21.57% 0% 0%)
Android#ffecc8ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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