#dc79ec
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 | #dc79ec | |
| RGB | rgb(220 121 236) | |
| HSL | hsl(291.65 75.16% 70%) | |
| OKLCH | oklch(0.73 0.19 321.89) | |
| CMYK | cmyk(6.78% 48.73% 0% 7.45%) | |
| Android | #ffdc79ec |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.62:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.98: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="#dc79ec"
Gradient stop
<stop stop-color="#dc79ec"/>
CSS variable + fill
:root { --c: #dc79ec; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dc79ec; background-color: #dc79ec; bg-[#dc79ec]