#7c24df
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 | #7c24df | |
| RGB | rgb(124 36 223) | |
| HSL | hsl(268.24 74.5% 50.78%) | |
| OKLCH | oklch(0.51 0.25 297.36) | |
| CMYK | cmyk(44.39% 83.86% 0% 12.55%) | |
| Android | #ff7c24df |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.61:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.17:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#7c24df"
Gradient stop
<stop stop-color="#7c24df"/>
CSS variable + fill
:root { --c: #7c24df; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7c24df; background-color: #7c24df; bg-[#7c24df]