#cd59cc
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 | #cd59cc | |
| RGB | rgb(205 89 204) | |
| HSL | hsl(300.52 53.7% 57.65%) | |
| OKLCH | oklch(0.65 0.2 327.91) | |
| CMYK | cmyk(0% 56.59% 0.49% 19.61%) | |
| Android | #ffcd59cc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.56:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.89: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="#cd59cc"
Gradient stop
<stop stop-color="#cd59cc"/>
CSS variable + fill
:root { --c: #cd59cc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd59cc; background-color: #cd59cc; bg-[#cd59cc]