#cb56da
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 | #cb56da | |
| RGB | rgb(203 86 218) | |
| HSL | hsl(293.18 64.08% 59.61%) | |
| OKLCH | oklch(0.65 0.22 322.99) | |
| CMYK | cmyk(6.88% 60.55% 0% 14.51%) | |
| Android | #ffcb56da |
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="#cb56da"
Gradient stop
<stop stop-color="#cb56da"/>
CSS variable + fill
:root { --c: #cb56da; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cb56da; background-color: #cb56da; bg-[#cb56da]