#cc70ff
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 | #cc70ff | |
| RGB | rgb(204 112 255) | |
| HSL | hsl(278.6 100% 71.96%) | |
| OKLCH | oklch(0.71 0.21 311.85) | |
| CMYK | cmyk(20% 56.08% 0% 0%) | |
| Android | #ffcc70ff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.86:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.32: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="#cc70ff"
Gradient stop
<stop stop-color="#cc70ff"/>
CSS variable + fill
:root { --c: #cc70ff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc70ff; background-color: #cc70ff; bg-[#cc70ff]