#db94ed
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 | #db94ed | |
| RGB | rgb(219 148 237) | |
| HSL | hsl(287.87 71.2% 75.49%) | |
| OKLCH | oklch(0.77 0.14 319.34) | |
| CMYK | cmyk(7.59% 37.55% 0% 7.06%) | |
| Android | #ffdb94ed |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.21:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.47: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="#db94ed"
Gradient stop
<stop stop-color="#db94ed"/>
CSS variable + fill
:root { --c: #db94ed; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db94ed; background-color: #db94ed; bg-[#db94ed]