#cc72fd
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 | #cc72fd | |
| RGB | rgb(204 114 253) | |
| HSL | hsl(278.85 97.2% 71.96%) | |
| OKLCH | oklch(0.71 0.21 312.13) | |
| CMYK | cmyk(19.37% 54.94% 0% 0.78%) | |
| Android | #ffcc72fd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.84:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.39: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="#cc72fd"
Gradient stop
<stop stop-color="#cc72fd"/>
CSS variable + fill
:root { --c: #cc72fd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc72fd; background-color: #cc72fd; bg-[#cc72fd]