#c538cd
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 | #c538cd | |
| RGB | rgb(197 56 205) | |
| HSL | hsl(296.78 59.84% 51.18%) | |
| OKLCH | oklch(0.61 0.24 325.66) | |
| CMYK | cmyk(3.9% 72.68% 0% 19.61%) | |
| Android | #ffc538cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.35:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.82: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="#c538cd"
Gradient stop
<stop stop-color="#c538cd"/>
CSS variable + fill
:root { --c: #c538cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c538cd; background-color: #c538cd; bg-[#c538cd]