#c548cc
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 | #c548cc | |
| RGB | rgb(197 72 204) | |
| HSL | hsl(296.82 56.41% 54.12%) | |
| OKLCH | oklch(0.62 0.22 325.61) | |
| CMYK | cmyk(3.43% 64.71% 0% 20%) | |
| Android | #ffc548cc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.05:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.17: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="#c548cc"
Gradient stop
<stop stop-color="#c548cc"/>
CSS variable + fill
:root { --c: #c548cc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c548cc; background-color: #c548cc; bg-[#c548cc]