#de97dc
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 | #de97dc | |
| RGB | rgb(222 151 220) | |
| HSL | hsl(301.69 51.82% 73.14%) | |
| OKLCH | oklch(0.77 0.12 327.65) | |
| CMYK | cmyk(0% 31.98% 0.9% 12.94%) | |
| Android | #ffde97dc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.19:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.56: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="#de97dc"
Gradient stop
<stop stop-color="#de97dc"/>
CSS variable + fill
:root { --c: #de97dc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #de97dc; background-color: #de97dc; bg-[#de97dc]