#db6ef8
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 | #db6ef8 | |
| RGB | rgb(219 110 248) | |
| HSL | hsl(287.39 90.79% 70.2%) | |
| OKLCH | oklch(0.72 0.22 318.78) | |
| CMYK | cmyk(11.69% 55.65% 0% 2.75%) | |
| Android | #ffdb6ef8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.76:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.59: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="#db6ef8"
Gradient stop
<stop stop-color="#db6ef8"/>
CSS variable + fill
:root { --c: #db6ef8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db6ef8; background-color: #db6ef8; bg-[#db6ef8]