#db87fe
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 | #db87fe | |
| RGB | rgb(219 135 254) | |
| HSL | hsl(282.35 98.35% 76.27%) | |
| OKLCH | oklch(0.76 0.18 315.27) | |
| CMYK | cmyk(13.78% 46.85% 0% 0.39%) | |
| Android | #ffdb87fe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.35:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.90: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="#db87fe"
Gradient stop
<stop stop-color="#db87fe"/>
CSS variable + fill
:root { --c: #db87fe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db87fe; background-color: #db87fe; bg-[#db87fe]