#cd58e5
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 | #cd58e5 | |
| RGB | rgb(205 88 229) | |
| HSL | hsl(289.79 73.06% 62.16%) | |
| OKLCH | oklch(0.66 0.22 320.47) | |
| CMYK | cmyk(10.48% 61.57% 0% 10.2%) | |
| Android | #ffcd58e5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.42:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.12: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="#cd58e5"
Gradient stop
<stop stop-color="#cd58e5"/>
CSS variable + fill
:root { --c: #cd58e5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd58e5; background-color: #cd58e5; bg-[#cd58e5]