#856dcb
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 | #856dcb | |
| RGB | rgb(133 109 203) | |
| HSL | hsl(255.32 47.47% 61.18%) | |
| OKLCH | oklch(0.6 0.14 293.48) | |
| CMYK | cmyk(34.48% 46.31% 0% 20.39%) | |
| Android | #ff856dcb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.16:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.04: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="#856dcb"
Gradient stop
<stop stop-color="#856dcb"/>
CSS variable + fill
:root { --c: #856dcb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #856dcb; background-color: #856dcb; bg-[#856dcb]