#cd8deb
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 | #cd8deb | |
| RGB | rgb(205 141 235) | |
| HSL | hsl(280.85 70.15% 73.73%) | |
| OKLCH | oklch(0.74 0.15 314.41) | |
| CMYK | cmyk(12.77% 40% 0% 7.84%) | |
| Android | #ffcd8deb |
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="#cd8deb"
Gradient stop
<stop stop-color="#cd8deb"/>
CSS variable + fill
:root { --c: #cd8deb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd8deb; background-color: #cd8deb; bg-[#cd8deb]