#c24dfd
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 | #c24dfd | |
| RGB | rgb(194 77 253) | |
| HSL | hsl(279.89 97.78% 64.71%) | |
| OKLCH | oklch(0.65 0.25 311.82) | |
| CMYK | cmyk(23.32% 69.57% 0% 0.78%) | |
| Android | #ffc24dfd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.63:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.77: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="#c24dfd"
Gradient stop
<stop stop-color="#c24dfd"/>
CSS variable + fill
:root { --c: #c24dfd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c24dfd; background-color: #c24dfd; bg-[#c24dfd]