#c846cc
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 | #c846cc | |
| RGB | rgb(200 70 204) | |
| HSL | hsl(298.21 56.78% 53.73%) | |
| OKLCH | oklch(0.62 0.22 326.61) | |
| CMYK | cmyk(1.96% 65.69% 0% 20%) | |
| Android | #ffc846cc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.03:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.20: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="#c846cc"
Gradient stop
<stop stop-color="#c846cc"/>
CSS variable + fill
:root { --c: #c846cc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c846cc; background-color: #c846cc; bg-[#c846cc]