#d66cd8
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 | #d66cd8 | |
| RGB | rgb(214 108 216) | |
| HSL | hsl(298.89 58.06% 63.53%) | |
| OKLCH | oklch(0.69 0.19 326.67) | |
| CMYK | cmyk(0.93% 50% 0% 15.29%) | |
| Android | #ffd66cd8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.00:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.99: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="#d66cd8"
Gradient stop
<stop stop-color="#d66cd8"/>
CSS variable + fill
:root { --c: #d66cd8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d66cd8; background-color: #d66cd8; bg-[#d66cd8]