#ddc8fd
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 | #ddc8fd | |
| RGB | rgb(221 200 253) | |
| HSL | hsl(263.77 92.98% 88.82%) | |
| OKLCH | oklch(0.87 0.08 302.92) | |
| CMYK | cmyk(12.65% 20.95% 0% 0.78%) | |
| Android | #ffddc8fd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.52:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.75: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="#ddc8fd"
Gradient stop
<stop stop-color="#ddc8fd"/>
CSS variable + fill
:root { --c: #ddc8fd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ddc8fd; background-color: #ddc8fd; bg-[#ddc8fd]