#c877dd
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 | #c877dd | |
| RGB | rgb(200 119 221) | |
| HSL | hsl(287.65 60% 66.67%) | |
| OKLCH | oklch(0.69 0.17 319.13) | |
| CMYK | cmyk(9.5% 46.15% 0% 13.33%) | |
| Android | #ffc877dd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.94:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.13: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="#c877dd"
Gradient stop
<stop stop-color="#c877dd"/>
CSS variable + fill
:root { --c: #c877dd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c877dd; background-color: #c877dd; bg-[#c877dd]