#db8bf3
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 | #db8bf3 | |
| RGB | rgb(219 139 243) | |
| HSL | hsl(286.15 81.25% 74.9%) | |
| OKLCH | oklch(0.76 0.17 318.12) | |
| CMYK | cmyk(9.88% 42.8% 0% 4.71%) | |
| Android | #ffdb8bf3 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.33:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.99: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="#db8bf3"
Gradient stop
<stop stop-color="#db8bf3"/>
CSS variable + fill
:root { --c: #db8bf3; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db8bf3; background-color: #db8bf3; bg-[#db8bf3]