#cc84ff
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 | #cc84ff | |
| RGB | rgb(204 132 255) | |
| HSL | hsl(275.12 100% 75.88%) | |
| OKLCH | oklch(0.74 0.18 309.6) | |
| CMYK | cmyk(20% 48.24% 0% 0%) | |
| Android | #ffcc84ff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.52:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.31: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="#cc84ff"
Gradient stop
<stop stop-color="#cc84ff"/>
CSS variable + fill
:root { --c: #cc84ff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc84ff; background-color: #cc84ff; bg-[#cc84ff]