#cd45ce
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 | #cd45ce | |
| RGB | rgb(205 69 206) | |
| HSL | hsl(299.56 58.3% 53.92%) | |
| OKLCH | oklch(0.63 0.23 327.57) | |
| CMYK | cmyk(0.49% 66.5% 0% 19.22%) | |
| Android | #ffcd45ce |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.93:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.33: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="#cd45ce"
Gradient stop
<stop stop-color="#cd45ce"/>
CSS variable + fill
:root { --c: #cd45ce; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd45ce; background-color: #cd45ce; bg-[#cd45ce]