#ba86bc
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 | #ba86bc | |
| RGB | rgb(186 134 188) | |
| HSL | hsl(297.78 28.72% 63.14%) | |
| OKLCH | oklch(0.69 0.1 325.33) | |
| CMYK | cmyk(1.06% 28.72% 0% 26.27%) | |
| Android | #ffba86bc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.90:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.22: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="#ba86bc"
Gradient stop
<stop stop-color="#ba86bc"/>
CSS variable + fill
:root { --c: #ba86bc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba86bc; background-color: #ba86bc; bg-[#ba86bc]