#db70fd
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 | #db70fd | |
| RGB | rgb(219 112 253) | |
| HSL | hsl(285.53 97.24% 71.57%) | |
| OKLCH | oklch(0.72 0.22 317.36) | |
| CMYK | cmyk(13.44% 55.73% 0% 0.78%) | |
| Android | #ffdb70fd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.71:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.74: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="#db70fd"
Gradient stop
<stop stop-color="#db70fd"/>
CSS variable + fill
:root { --c: #db70fd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db70fd; background-color: #db70fd; bg-[#db70fd]