#cc89f0
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 | #cc89f0 | |
| RGB | rgb(204 137 240) | |
| HSL | hsl(279.03 77.44% 73.92%) | |
| OKLCH | oklch(0.74 0.16 312.95) | |
| CMYK | cmyk(15% 42.92% 0% 5.88%) | |
| Android | #ffcc89f0 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.49:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.40: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="#cc89f0"
Gradient stop
<stop stop-color="#cc89f0"/>
CSS variable + fill
:root { --c: #cc89f0; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc89f0; background-color: #cc89f0; bg-[#cc89f0]