#cc85cc
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 | #cc85cc | |
| RGB | rgb(204 133 204) | |
| HSL | hsl(300 41.04% 66.08%) | |
| OKLCH | oklch(0.71 0.13 326.81) | |
| CMYK | cmyk(0% 34.8% 0% 20%) | |
| Android | #ffcc85cc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.69:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.79: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="#cc85cc"
Gradient stop
<stop stop-color="#cc85cc"/>
CSS variable + fill
:root { --c: #cc85cc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc85cc; background-color: #cc85cc; bg-[#cc85cc]