#c548df
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 | #c548df | |
| RGB | rgb(197 72 223) | |
| HSL | hsl(289.67 70.23% 57.84%) | |
| OKLCH | oklch(0.63 0.24 320.24) | |
| CMYK | cmyk(11.66% 67.71% 0% 12.55%) | |
| Android | #ffc548df |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.91:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.36: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="#c548df"
Gradient stop
<stop stop-color="#c548df"/>
CSS variable + fill
:root { --c: #c548df; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c548df; background-color: #c548df; bg-[#c548df]