#ec56ee
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 | #ec56ee | |
| RGB | rgb(236 86 238) | |
| HSL | hsl(299.21 81.72% 63.53%) | |
| OKLCH | oklch(0.71 0.25 327.27) | |
| CMYK | cmyk(0.84% 63.87% 0% 6.67%) | |
| Android | #ffec56ee |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.94:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.13: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="#ec56ee"
Gradient stop
<stop stop-color="#ec56ee"/>
CSS variable + fill
:root { --c: #ec56ee; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec56ee; background-color: #ec56ee; bg-[#ec56ee]