#dd57fd
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 | #dd57fd | |
| RGB | rgb(221 87 253) | |
| HSL | hsl(288.43 97.65% 66.67%) | |
| OKLCH | oklch(0.7 0.25 319.31) | |
| CMYK | cmyk(12.65% 65.61% 0% 0.78%) | |
| Android | #ffdd57fd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.06:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.85: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="#dd57fd"
Gradient stop
<stop stop-color="#dd57fd"/>
CSS variable + fill
:root { --c: #dd57fd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dd57fd; background-color: #dd57fd; bg-[#dd57fd]