#cb2ed5
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 | #cb2ed5 | |
| RGB | rgb(203 46 213) | |
| HSL | hsl(296.41 66.53% 50.78%) | |
| OKLCH | oklch(0.61 0.26 325.39) | |
| CMYK | cmyk(4.69% 78.4% 0% 16.47%) | |
| Android | #ffcb2ed5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.29:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.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="#cb2ed5"
Gradient stop
<stop stop-color="#cb2ed5"/>
CSS variable + fill
:root { --c: #cb2ed5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb2ed5; background-color: #cb2ed5; bg-[#cb2ed5]