#ecb2fe
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #ecb2fe | |
| RGB | rgb(236 178 254) | |
| HSL | hsl(285.79 97.44% 84.71%) | |
| OKLCH | oklch(0.84 0.12 318.03) | |
| CMYK | cmyk(7.09% 29.92% 0% 0.39%) | |
| Android | #ffecb2fe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.69:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.36:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#ecb2fe"
Gradient stop
<stop stop-color="#ecb2fe"/>
CSS variable + fill
:root { --c: #ecb2fe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ecb2fe; background-color: #ecb2fe; bg-[#ecb2fe]