#cd38d9
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 | #cd38d9 | |
| RGB | rgb(205 56 217) | |
| HSL | hsl(295.53 67.93% 53.53%) | |
| OKLCH | oklch(0.63 0.25 324.71) | |
| CMYK | cmyk(5.53% 74.19% 0% 14.9%) | |
| Android | #ffcd38d9 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.06:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.16: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="#cd38d9"
Gradient stop
<stop stop-color="#cd38d9"/>
CSS variable + fill
:root { --c: #cd38d9; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd38d9; background-color: #cd38d9; bg-[#cd38d9]