#ecb1fd
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 | #ecb1fd | |
| RGB | rgb(236 177 253) | |
| HSL | hsl(286.58 95% 84.31%) | |
| OKLCH | oklch(0.84 0.12 318.54) | |
| CMYK | cmyk(6.72% 30.04% 0% 0.78%) | |
| Android | #ffecb1fd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.71:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.27: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="#ecb1fd"
Gradient stop
<stop stop-color="#ecb1fd"/>
CSS variable + fill
:root { --c: #ecb1fd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ecb1fd; background-color: #ecb1fd; bg-[#ecb1fd]