#ba7bbb
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 | #ba7bbb | |
| RGB | rgb(186 123 187) | |
| HSL | hsl(299.06 32% 60.78%) | |
| OKLCH | oklch(0.67 0.12 326.24) | |
| CMYK | cmyk(0.53% 34.22% 0% 26.67%) | |
| Android | #ffba7bbb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.16:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.63: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="#ba7bbb"
Gradient stop
<stop stop-color="#ba7bbb"/>
CSS variable + fill
:root { --c: #ba7bbb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba7bbb; background-color: #ba7bbb; bg-[#ba7bbb]