#d66cd2
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 | #d66cd2 | |
| RGB | rgb(214 108 210) | |
| HSL | hsl(302.26 56.38% 63.14%) | |
| OKLCH | oklch(0.69 0.18 328.74) | |
| CMYK | cmyk(0% 49.53% 1.87% 16.08%) | |
| Android | #ffd66cd2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.02:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.93: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="#d66cd2"
Gradient stop
<stop stop-color="#d66cd2"/>
CSS variable + fill
:root { --c: #d66cd2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d66cd2; background-color: #d66cd2; bg-[#d66cd2]