#c59cd8
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 | #c59cd8 | |
| RGB | rgb(197 156 216) | |
| HSL | hsl(281 43.48% 72.94%) | |
| OKLCH | oklch(0.75 0.1 314.88) | |
| CMYK | cmyk(8.8% 27.78% 0% 15.29%) | |
| Android | #ffc59cd8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.30:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.12: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="#c59cd8"
Gradient stop
<stop stop-color="#c59cd8"/>
CSS variable + fill
:root { --c: #c59cd8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c59cd8; background-color: #c59cd8; bg-[#c59cd8]