#c140dd
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 | #c140dd | |
| RGB | rgb(193 64 221) | |
| HSL | hsl(289.3 69.78% 55.88%) | |
| OKLCH | oklch(0.62 0.24 319.84) | |
| CMYK | cmyk(12.67% 71.04% 0% 13.33%) | |
| Android | #ffc140dd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.16:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.04: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="#c140dd"
Gradient stop
<stop stop-color="#c140dd"/>
CSS variable + fill
:root { --c: #c140dd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c140dd; background-color: #c140dd; bg-[#c140dd]