#d645dc
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 | #d645dc | |
| RGB | rgb(214 69 220) | |
| HSL | hsl(297.62 68.33% 56.67%) | |
| OKLCH | oklch(0.65 0.24 326.24) | |
| CMYK | cmyk(2.73% 68.64% 0% 13.73%) | |
| Android | #ffd645dc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.65:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.74: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="#d645dc"
Gradient stop
<stop stop-color="#d645dc"/>
CSS variable + fill
:root { --c: #d645dc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d645dc; background-color: #d645dc; bg-[#d645dc]