#df48ed
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 | #df48ed | |
| RGB | rgb(223 72 237) | |
| HSL | hsl(294.91 82.09% 60.59%) | |
| OKLCH | oklch(0.68 0.26 324.25) | |
| CMYK | cmyk(5.91% 69.62% 0% 7.06%) | |
| Android | #ffdf48ed |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.33:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.28: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="#df48ed"
Gradient stop
<stop stop-color="#df48ed"/>
CSS variable + fill
:root { --c: #df48ed; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #df48ed; background-color: #df48ed; bg-[#df48ed]