#db6cff
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 | #db6cff | |
| RGB | rgb(219 108 255) | |
| HSL | hsl(285.31 100% 71.18%) | |
| OKLCH | oklch(0.72 0.23 317.12) | |
| CMYK | cmyk(14.12% 57.65% 0% 0%) | |
| Android | #ffdb6cff |
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.60: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="#db6cff"
Gradient stop
<stop stop-color="#db6cff"/>
CSS variable + fill
:root { --c: #db6cff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db6cff; background-color: #db6cff; bg-[#db6cff]