#dab7dc
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 | #dab7dc | |
| RGB | rgb(218 183 220) | |
| HSL | hsl(296.76 34.58% 79.02%) | |
| OKLCH | oklch(0.82 0.06 324.43) | |
| CMYK | cmyk(0.91% 16.82% 0% 13.73%) | |
| Android | #ffdab7dc |
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.78: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="#dab7dc"
Gradient stop
<stop stop-color="#dab7dc"/>
CSS variable + fill
:root { --c: #dab7dc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dab7dc; background-color: #dab7dc; bg-[#dab7dc]