#cb5eb5
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 | #cb5eb5 | |
| RGB | rgb(203 94 181) | |
| HSL | hsl(312.11 51.17% 58.24%) | |
| OKLCH | oklch(0.64 0.17 335.76) | |
| CMYK | cmyk(0% 53.69% 10.84% 20.39%) | |
| Android | #ffcb5eb5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.61:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.80: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="#cb5eb5"
Gradient stop
<stop stop-color="#cb5eb5"/>
CSS variable + fill
:root { --c: #cb5eb5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb5eb5; background-color: #cb5eb5; bg-[#cb5eb5]