#d992fe
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 | #d992fe | |
| RGB | rgb(217 146 254) | |
| HSL | hsl(279.44 98.18% 78.43%) | |
| OKLCH | oklch(0.77 0.17 313.27) | |
| CMYK | cmyk(14.57% 42.52% 0% 0.39%) | |
| Android | #ffd992fe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.21:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.49: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="#d992fe"
Gradient stop
<stop stop-color="#d992fe"/>
CSS variable + fill
:root { --c: #d992fe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d992fe; background-color: #d992fe; bg-[#d992fe]