#cd00d5
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 | #cd00d5 | |
| RGB | rgb(205 0 213) | |
| HSL | hsl(297.75 100% 41.76%) | |
| OKLCH | oklch(0.6 0.28 326.31) | |
| CMYK | cmyk(3.76% 100% 0% 16.47%) | |
| Android | #ffcd00d5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.60:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.55:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#cd00d5"
Gradient stop
<stop stop-color="#cd00d5"/>
CSS variable + fill
:root { --c: #cd00d5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd00d5; background-color: #cd00d5; bg-[#cd00d5]