#d757cd
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 | #d757cd | |
| RGB | rgb(215 87 205) | |
| HSL | hsl(304.69 61.54% 59.22%) | |
| OKLCH | oklch(0.66 0.21 330.81) | |
| CMYK | cmyk(0% 59.53% 4.65% 15.69%) | |
| Android | #ffd757cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.42:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.13: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="#d757cd"
Gradient stop
<stop stop-color="#d757cd"/>
CSS variable + fill
:root { --c: #d757cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d757cd; background-color: #d757cd; bg-[#d757cd]