#d160ed
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 | #d160ed | |
| RGB | rgb(209 96 237) | |
| HSL | hsl(288.09 79.66% 65.29%) | |
| OKLCH | oklch(0.68 0.22 319.21) | |
| CMYK | cmyk(11.81% 59.49% 0% 7.06%) | |
| Android | #ffd160ed |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.17:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.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="#d160ed"
Gradient stop
<stop stop-color="#d160ed"/>
CSS variable + fill
:root { --c: #d160ed; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d160ed; background-color: #d160ed; bg-[#d160ed]