#882ebc
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 | #882ebc | |
| RGB | rgb(136 46 188) | |
| HSL | hsl(278.03 60.68% 45.88%) | |
| OKLCH | oklch(0.5 0.21 309.56) | |
| CMYK | cmyk(27.66% 75.53% 0% 26.27%) | |
| Android | #ff882ebc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.63:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.16:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#882ebc"
Gradient stop
<stop stop-color="#882ebc"/>
CSS variable + fill
:root { --c: #882ebc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #882ebc; background-color: #882ebc; bg-[#882ebc]