#d97dda
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 | #d97dda | |
| RGB | rgb(217 125 218) | |
| HSL | hsl(299.35 55.69% 67.25%) | |
| OKLCH | oklch(0.72 0.16 326.72) | |
| CMYK | cmyk(0.46% 42.66% 0% 14.51%) | |
| Android | #ffd97dda |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.65:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.89: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="#d97dda"
Gradient stop
<stop stop-color="#d97dda"/>
CSS variable + fill
:root { --c: #d97dda; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d97dda; background-color: #d97dda; bg-[#d97dda]