#cd8ce3
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 | #cd8ce3 | |
| RGB | rgb(205 140 227) | |
| HSL | hsl(284.83 60.84% 71.96%) | |
| OKLCH | oklch(0.74 0.14 317.27) | |
| CMYK | cmyk(9.69% 38.33% 0% 10.98%) | |
| Android | #ffcd8ce3 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.48:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.45: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="#cd8ce3"
Gradient stop
<stop stop-color="#cd8ce3"/>
CSS variable + fill
:root { --c: #cd8ce3; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd8ce3; background-color: #cd8ce3; bg-[#cd8ce3]