#df8cd8
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 | #df8cd8 | |
| RGB | rgb(223 140 216) | |
| HSL | hsl(305.06 56.46% 71.18%) | |
| OKLCH | oklch(0.75 0.14 329.89) | |
| CMYK | cmyk(0% 37.22% 3.14% 12.55%) | |
| Android | #ffdf8cd8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.36:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.88: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="#df8cd8"
Gradient stop
<stop stop-color="#df8cd8"/>
CSS variable + fill
:root { --c: #df8cd8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #df8cd8; background-color: #df8cd8; bg-[#df8cd8]