#d08dcc
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 | #d08dcc | |
| RGB | rgb(208 141 204) | |
| HSL | hsl(303.58 41.61% 68.43%) | |
| OKLCH | oklch(0.73 0.12 328.74) | |
| CMYK | cmyk(0% 32.21% 1.92% 18.43%) | |
| Android | #ffd08dcc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.51:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.36: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="#d08dcc"
Gradient stop
<stop stop-color="#d08dcc"/>
CSS variable + fill
:root { --c: #d08dcc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d08dcc; background-color: #d08dcc; bg-[#d08dcc]