#c297cd
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 | #c297cd | |
| RGB | rgb(194 151 205) | |
| HSL | hsl(287.78 35.06% 69.8%) | |
| OKLCH | oklch(0.73 0.09 319.32) | |
| CMYK | cmyk(5.37% 26.34% 0% 19.61%) | |
| Android | #ffc297cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.44:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.60: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="#c297cd"
Gradient stop
<stop stop-color="#c297cd"/>
CSS variable + fill
:root { --c: #c297cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c297cd; background-color: #c297cd; bg-[#c297cd]