#cc4cf6
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 | #cc4cf6 | |
| RGB | rgb(204 76 246) | |
| HSL | hsl(285.18 90.43% 63.14%) | |
| OKLCH | oklch(0.66 0.25 316.48) | |
| CMYK | cmyk(17.07% 69.11% 0% 3.53%) | |
| Android | #ffcc4cf6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.54:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.93: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="#cc4cf6"
Gradient stop
<stop stop-color="#cc4cf6"/>
CSS variable + fill
:root { --c: #cc4cf6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc4cf6; background-color: #cc4cf6; bg-[#cc4cf6]