#ec68fc
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 | #ec68fc | |
| RGB | rgb(236 104 252) | |
| HSL | hsl(293.51 96.1% 69.8%) | |
| OKLCH | oklch(0.73 0.24 323.22) | |
| CMYK | cmyk(6.35% 58.73% 0% 1.18%) | |
| Android | #ffec68fc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.64:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.95: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="#ec68fc"
Gradient stop
<stop stop-color="#ec68fc"/>
CSS variable + fill
:root { --c: #ec68fc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ec68fc; background-color: #ec68fc; bg-[#ec68fc]