#d486fe
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 | #d486fe | |
| RGB | rgb(212 134 254) | |
| HSL | hsl(279 98.36% 76.08%) | |
| OKLCH | oklch(0.75 0.18 312.71) | |
| CMYK | cmyk(16.54% 47.24% 0% 0.39%) | |
| Android | #ffd486fe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.43:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.64: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="#d486fe"
Gradient stop
<stop stop-color="#d486fe"/>
CSS variable + fill
:root { --c: #d486fe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d486fe; background-color: #d486fe; bg-[#d486fe]