#cd50dd
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 | #cd50dd | |
| RGB | rgb(205 80 221) | |
| HSL | hsl(293.19 67.46% 59.02%) | |
| OKLCH | oklch(0.65 0.23 322.99) | |
| CMYK | cmyk(7.24% 63.8% 0% 13.33%) | |
| Android | #ffcd50dd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.62:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.78: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="#cd50dd"
Gradient stop
<stop stop-color="#cd50dd"/>
CSS variable + fill
:root { --c: #cd50dd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd50dd; background-color: #cd50dd; bg-[#cd50dd]