#cd8ce6
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 | #cd8ce6 | |
| RGB | rgb(205 140 230) | |
| HSL | hsl(283.33 64.29% 72.55%) | |
| OKLCH | oklch(0.74 0.14 316.21) | |
| CMYK | cmyk(10.87% 39.13% 0% 9.8%) | |
| Android | #ffcd8ce6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.47:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.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="#cd8ce6"
Gradient stop
<stop stop-color="#cd8ce6"/>
CSS variable + fill
:root { --c: #cd8ce6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd8ce6; background-color: #cd8ce6; bg-[#cd8ce6]