#ddb7fe
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 | #ddb7fe | |
| RGB | rgb(221 183 254) | |
| HSL | hsl(272.11 97.26% 85.69%) | |
| OKLCH | oklch(0.84 0.1 308.61) | |
| CMYK | cmyk(12.99% 27.95% 0% 0.39%) | |
| Android | #ffddb7fe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.71:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.27: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="#ddb7fe"
Gradient stop
<stop stop-color="#ddb7fe"/>
CSS variable + fill
:root { --c: #ddb7fe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ddb7fe; background-color: #ddb7fe; bg-[#ddb7fe]