#d96fed
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 | #d96fed | |
| RGB | rgb(217 111 237) | |
| HSL | hsl(290.48 77.78% 68.24%) | |
| OKLCH | oklch(0.71 0.2 321.07) | |
| CMYK | cmyk(8.44% 53.16% 0% 7.06%) | |
| Android | #ffd96fed |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.81:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.44: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="#d96fed"
Gradient stop
<stop stop-color="#d96fed"/>
CSS variable + fill
:root { --c: #d96fed; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d96fed; background-color: #d96fed; bg-[#d96fed]