#856fbf
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 | #856fbf | |
| RGB | rgb(133 111 191) | |
| HSL | hsl(256.5 38.46% 59.22%) | |
| OKLCH | oklch(0.6 0.12 295.15) | |
| CMYK | cmyk(30.37% 41.88% 0% 25.1%) | |
| Android | #ff856fbf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.18:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.02: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="#856fbf"
Gradient stop
<stop stop-color="#856fbf"/>
CSS variable + fill
:root { --c: #856fbf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #856fbf; background-color: #856fbf; bg-[#856fbf]