#d856dc
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 | #d856dc | |
| RGB | rgb(216 86 220) | |
| HSL | hsl(298.21 65.69% 60%) | |
| OKLCH | oklch(0.67 0.22 326.51) | |
| CMYK | cmyk(1.82% 60.91% 0% 13.73%) | |
| Android | #ffd856dc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.34:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.28: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="#d856dc"
Gradient stop
<stop stop-color="#d856dc"/>
CSS variable + fill
:root { --c: #d856dc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d856dc; background-color: #d856dc; bg-[#d856dc]