#dc7ff6
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 | #dc7ff6 | |
| RGB | rgb(220 127 246) | |
| HSL | hsl(286.89 86.86% 73.14%) | |
| OKLCH | oklch(0.74 0.19 318.55) | |
| CMYK | cmyk(10.57% 48.37% 0% 3.53%) | |
| Android | #ffdc7ff6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.49:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.40: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="#dc7ff6"
Gradient stop
<stop stop-color="#dc7ff6"/>
CSS variable + fill
:root { --c: #dc7ff6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dc7ff6; background-color: #dc7ff6; bg-[#dc7ff6]