#cc86e9
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 | #cc86e9 | |
| RGB | rgb(204 134 233) | |
| HSL | hsl(282.42 69.23% 71.96%) | |
| OKLCH | oklch(0.73 0.16 315.47) | |
| CMYK | cmyk(12.45% 42.49% 0% 8.63%) | |
| Android | #ffcc86e9 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.57:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.15: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="#cc86e9"
Gradient stop
<stop stop-color="#cc86e9"/>
CSS variable + fill
:root { --c: #cc86e9; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc86e9; background-color: #cc86e9; bg-[#cc86e9]