#d08dd2
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 | #d08dd2 | |
| RGB | rgb(208 141 210) | |
| HSL | hsl(298.26 43.4% 68.82%) | |
| OKLCH | oklch(0.73 0.12 325.74) | |
| CMYK | cmyk(0.95% 32.86% 0% 17.65%) | |
| Android | #ffd08dd2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.49:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.42: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="#d08dd2"
Gradient stop
<stop stop-color="#d08dd2"/>
CSS variable + fill
:root { --c: #d08dd2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d08dd2; background-color: #d08dd2; bg-[#d08dd2]