#d481f8
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 | #d481f8 | |
| RGB | rgb(212 129 248) | |
| HSL | hsl(281.85 89.47% 73.92%) | |
| OKLCH | oklch(0.74 0.18 314.85) | |
| CMYK | cmyk(14.52% 47.98% 0% 2.75%) | |
| Android | #ffd481f8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.53:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.29: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="#d481f8"
Gradient stop
<stop stop-color="#d481f8"/>
CSS variable + fill
:root { --c: #d481f8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d481f8; background-color: #d481f8; bg-[#d481f8]