#d06cd4
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 | #d06cd4 | |
| RGB | rgb(208 108 212) | |
| HSL | hsl(297.69 54.74% 62.75%) | |
| OKLCH | oklch(0.68 0.18 325.88) | |
| CMYK | cmyk(1.89% 49.06% 0% 16.86%) | |
| Android | #ffd06cd4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.09:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.77: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="#d06cd4"
Gradient stop
<stop stop-color="#d06cd4"/>
CSS variable + fill
:root { --c: #d06cd4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d06cd4; background-color: #d06cd4; bg-[#d06cd4]