#cc77fb
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 | #cc77fb | |
| RGB | rgb(204 119 251) | |
| HSL | hsl(278.64 94.29% 72.55%) | |
| OKLCH | oklch(0.71 0.2 312.12) | |
| CMYK | cmyk(18.73% 52.59% 0% 1.57%) | |
| Android | #ffcc77fb |
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="#cc77fb"
Gradient stop
<stop stop-color="#cc77fb"/>
CSS variable + fill
:root { --c: #cc77fb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cc77fb; background-color: #cc77fb; bg-[#cc77fb]