#ec62dd
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 | #ec62dd | |
| RGB | rgb(236 98 221) | |
| HSL | hsl(306.52 78.41% 65.49%) | |
| OKLCH | oklch(0.71 0.22 332.06) | |
| CMYK | cmyk(0% 58.47% 6.36% 7.45%) | |
| Android | #ffec62dd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.85:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.35: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="#ec62dd"
Gradient stop
<stop stop-color="#ec62dd"/>
CSS variable + fill
:root { --c: #ec62dd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec62dd; background-color: #ec62dd; bg-[#ec62dd]