#cb58d4
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 | #cb58d4 | |
| RGB | rgb(203 88 212) | |
| HSL | hsl(295.65 59.05% 58.82%) | |
| OKLCH | oklch(0.65 0.21 324.71) | |
| CMYK | cmyk(4.25% 58.49% 0% 16.86%) | |
| Android | #ffcb58d4 |
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.88: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="#cb58d4"
Gradient stop
<stop stop-color="#cb58d4"/>
CSS variable + fill
:root { --c: #cb58d4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb58d4; background-color: #cb58d4; bg-[#cb58d4]