#ca5cd8
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 | #ca5cd8 | |
| RGB | rgb(202 92 216) | |
| HSL | hsl(293.23 61.39% 60.39%) | |
| OKLCH | oklch(0.66 0.2 323.01) | |
| CMYK | cmyk(6.48% 57.41% 0% 15.29%) | |
| Android | #ffca5cd8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.48:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.03: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="#ca5cd8"
Gradient stop
<stop stop-color="#ca5cd8"/>
CSS variable + fill
:root { --c: #ca5cd8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ca5cd8; background-color: #ca5cd8; bg-[#ca5cd8]