#c24eec
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 | #c24eec | |
| RGB | rgb(194 78 236) | |
| HSL | hsl(284.05 80.61% 61.57%) | |
| OKLCH | oklch(0.64 0.24 315.67) | |
| CMYK | cmyk(17.8% 66.95% 0% 7.45%) | |
| Android | #ffc24eec |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.75:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.59: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="#c24eec"
Gradient stop
<stop stop-color="#c24eec"/>
CSS variable + fill
:root { --c: #c24eec; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c24eec; background-color: #c24eec; bg-[#c24eec]