#cc6cfd
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 | #cc6cfd | |
| RGB | rgb(204 108 253) | |
| HSL | hsl(279.72 97.32% 70.78%) | |
| OKLCH | oklch(0.7 0.22 312.69) | |
| CMYK | cmyk(19.37% 57.31% 0% 0.78%) | |
| Android | #ffcc6cfd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.94:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.13: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="#cc6cfd"
Gradient stop
<stop stop-color="#cc6cfd"/>
CSS variable + fill
:root { --c: #cc6cfd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc6cfd; background-color: #cc6cfd; bg-[#cc6cfd]