#ecb7fe
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 | #ecb7fe | |
| RGB | rgb(236 183 254) | |
| HSL | hsl(284.79 97.26% 85.69%) | |
| OKLCH | oklch(0.85 0.11 317.4) | |
| CMYK | cmyk(7.09% 27.95% 0% 0.39%) | |
| Android | #ffecb7fe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.64:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.77: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="#ecb7fe"
Gradient stop
<stop stop-color="#ecb7fe"/>
CSS variable + fill
:root { --c: #ecb7fe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ecb7fe; background-color: #ecb7fe; bg-[#ecb7fe]