#da9aff
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 | #da9aff | |
| RGB | rgb(218 154 255) | |
| HSL | hsl(278.02 100% 80.2%) | |
| OKLCH | oklch(0.78 0.15 312.35) | |
| CMYK | cmyk(14.51% 39.61% 0% 0%) | |
| Android | #ffda9aff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.09:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.04: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="#da9aff"
Gradient stop
<stop stop-color="#da9aff"/>
CSS variable + fill
:root { --c: #da9aff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #da9aff; background-color: #da9aff; bg-[#da9aff]