#db5bf6
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 | #db5bf6 | |
| RGB | rgb(219 91 246) | |
| HSL | hsl(289.55 89.6% 66.08%) | |
| OKLCH | oklch(0.69 0.24 320.25) | |
| CMYK | cmyk(10.98% 63.01% 0% 3.53%) | |
| Android | #ffdb5bf6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.07:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.83: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="#db5bf6"
Gradient stop
<stop stop-color="#db5bf6"/>
CSS variable + fill
:root { --c: #db5bf6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db5bf6; background-color: #db5bf6; bg-[#db5bf6]