#b56dc8
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 | #b56dc8 | |
| RGB | rgb(181 109 200) | |
| HSL | hsl(287.47 45.27% 60.59%) | |
| OKLCH | oklch(0.65 0.15 319.01) | |
| CMYK | cmyk(9.5% 45.5% 0% 21.57%) | |
| Android | #ffb56dc8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.50:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.98: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="#b56dc8"
Gradient stop
<stop stop-color="#b56dc8"/>
CSS variable + fill
:root { --c: #b56dc8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b56dc8; background-color: #b56dc8; bg-[#b56dc8]