#da7dff
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 | #da7dff | |
| RGB | rgb(218 125 255) | |
| HSL | hsl(282.92 100% 74.51%) | |
| OKLCH | oklch(0.74 0.2 315.54) | |
| CMYK | cmyk(14.51% 50.98% 0% 0%) | |
| Android | #ffda7dff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.51:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.35: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="#da7dff"
Gradient stop
<stop stop-color="#da7dff"/>
CSS variable + fill
:root { --c: #da7dff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #da7dff; background-color: #da7dff; bg-[#da7dff]