#de42eb
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 | #de42eb | |
| RGB | rgb(222 66 235) | |
| HSL | hsl(295.38 80.86% 59.02%) | |
| OKLCH | oklch(0.67 0.26 324.61) | |
| CMYK | cmyk(5.53% 71.91% 0% 7.84%) | |
| Android | #ffde42eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.45:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.08: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="#de42eb"
Gradient stop
<stop stop-color="#de42eb"/>
CSS variable + fill
:root { --c: #de42eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #de42eb; background-color: #de42eb; bg-[#de42eb]