#7c4ffd
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 | #7c4ffd | |
| RGB | rgb(124 79 253) | |
| HSL | hsl(255.52 97.75% 65.1%) | |
| OKLCH | oklch(0.58 0.24 288.26) | |
| CMYK | cmyk(50.99% 68.77% 0% 0.78%) | |
| Android | #ff7c4ffd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.77:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.39: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="#7c4ffd"
Gradient stop
<stop stop-color="#7c4ffd"/>
CSS variable + fill
:root { --c: #7c4ffd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7c4ffd; background-color: #7c4ffd; bg-[#7c4ffd]