#dfb3ea
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 | #dfb3ea | |
| RGB | rgb(223 179 234) | |
| HSL | hsl(288 56.7% 80.98%) | |
| OKLCH | oklch(0.82 0.09 319.46) | |
| CMYK | cmyk(4.7% 23.5% 0% 8.24%) | |
| Android | #ffdfb3ea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.78:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.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="#dfb3ea"
Gradient stop
<stop stop-color="#dfb3ea"/>
CSS variable + fill
:root { --c: #dfb3ea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dfb3ea; background-color: #dfb3ea; bg-[#dfb3ea]