#d07cea
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 | #d07cea | |
| RGB | rgb(208 124 234) | |
| HSL | hsl(285.82 72.37% 70.2%) | |
| OKLCH | oklch(0.72 0.18 317.81) | |
| CMYK | cmyk(11.11% 47.01% 0% 8.24%) | |
| Android | #ffd07cea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.70:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.75: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="#d07cea"
Gradient stop
<stop stop-color="#d07cea"/>
CSS variable + fill
:root { --c: #d07cea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d07cea; background-color: #d07cea; bg-[#d07cea]