#cb58d6
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 | #cb58d6 | |
| RGB | rgb(203 88 214) | |
| HSL | hsl(294.76 60.58% 59.22%) | |
| OKLCH | oklch(0.65 0.21 324.1) | |
| CMYK | cmyk(5.14% 58.88% 0% 16.08%) | |
| Android | #ffcb58d6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.55:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.90: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="#cb58d6"
Gradient stop
<stop stop-color="#cb58d6"/>
CSS variable + fill
:root { --c: #cb58d6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb58d6; background-color: #cb58d6; bg-[#cb58d6]