#cc7fd8
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 | #cc7fd8 | |
| RGB | rgb(204 127 216) | |
| HSL | hsl(291.91 53.29% 67.25%) | |
| OKLCH | oklch(0.71 0.15 322.02) | |
| CMYK | cmyk(5.56% 41.2% 0% 15.29%) | |
| Android | #ffcc7fd8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.76:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.59: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="#cc7fd8"
Gradient stop
<stop stop-color="#cc7fd8"/>
CSS variable + fill
:root { --c: #cc7fd8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc7fd8; background-color: #cc7fd8; bg-[#cc7fd8]