#856eba
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 | #856eba | |
| RGB | rgb(133 110 186) | |
| HSL | hsl(258.16 35.51% 58.04%) | |
| OKLCH | oklch(0.59 0.12 296.66) | |
| CMYK | cmyk(28.49% 40.86% 0% 27.06%) | |
| Android | #ff856eba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.25:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.93: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="#856eba"
Gradient stop
<stop stop-color="#856eba"/>
CSS variable + fill
:root { --c: #856eba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #856eba; background-color: #856eba; bg-[#856eba]