#db55dd
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 | #db55dd | |
| RGB | rgb(219 85 221) | |
| HSL | hsl(299.12 66.67% 60%) | |
| OKLCH | oklch(0.67 0.23 327.15) | |
| CMYK | cmyk(0.9% 61.54% 0% 13.33%) | |
| Android | #ffdb55dd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.30:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.35: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="#db55dd"
Gradient stop
<stop stop-color="#db55dd"/>
CSS variable + fill
:root { --c: #db55dd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db55dd; background-color: #db55dd; bg-[#db55dd]