#ba8aea
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 | #ba8aea | |
| RGB | rgb(186 138 234) | |
| HSL | hsl(270 69.57% 72.94%) | |
| OKLCH | oklch(0.72 0.14 306.12) | |
| CMYK | cmyk(20.51% 41.03% 0% 8.24%) | |
| Android | #ffba8aea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.65:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.91: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="#ba8aea"
Gradient stop
<stop stop-color="#ba8aea"/>
CSS variable + fill
:root { --c: #ba8aea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba8aea; background-color: #ba8aea; bg-[#ba8aea]