#cd9fdd
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 | #cd9fdd | |
| RGB | rgb(205 159 221) | |
| HSL | hsl(284.52 47.69% 74.51%) | |
| OKLCH | oklch(0.77 0.1 317.22) | |
| CMYK | cmyk(7.24% 28.05% 0% 13.33%) | |
| Android | #ffcd9fdd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.18:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.59: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="#cd9fdd"
Gradient stop
<stop stop-color="#cd9fdd"/>
CSS variable + fill
:root { --c: #cd9fdd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd9fdd; background-color: #cd9fdd; bg-[#cd9fdd]