#c56ecd
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 | #c56ecd | |
| RGB | rgb(197 110 205) | |
| HSL | hsl(294.95 48.72% 61.76%) | |
| OKLCH | oklch(0.67 0.16 324.05) | |
| CMYK | cmyk(3.9% 46.34% 0% 19.61%) | |
| Android | #ffc56ecd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.23:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.48: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="#c56ecd"
Gradient stop
<stop stop-color="#c56ecd"/>
CSS variable + fill
:root { --c: #c56ecd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c56ecd; background-color: #c56ecd; bg-[#c56ecd]