#d987ed
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 | #d987ed | |
| RGB | rgb(217 135 237) | |
| HSL | hsl(288.24 73.91% 72.94%) | |
| OKLCH | oklch(0.75 0.17 319.56) | |
| CMYK | cmyk(8.44% 43.04% 0% 7.06%) | |
| Android | #ffd987ed |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.43:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.63: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="#d987ed"
Gradient stop
<stop stop-color="#d987ed"/>
CSS variable + fill
:root { --c: #d987ed; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d987ed; background-color: #d987ed; bg-[#d987ed]