#cd8fe6
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 | #cd8fe6 | |
| RGB | rgb(205 143 230) | |
| HSL | hsl(282.76 63.5% 73.14%) | |
| OKLCH | oklch(0.74 0.14 315.84) | |
| CMYK | cmyk(10.87% 37.83% 0% 9.8%) | |
| Android | #ffcd8fe6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.42:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.66: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="#cd8fe6"
Gradient stop
<stop stop-color="#cd8fe6"/>
CSS variable + fill
:root { --c: #cd8fe6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd8fe6; background-color: #cd8fe6; bg-[#cd8fe6]