#b87aea
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 | #b87aea | |
| RGB | rgb(184 122 234) | |
| HSL | hsl(273.21 72.73% 69.8%) | |
| OKLCH | oklch(0.69 0.17 308.12) | |
| CMYK | cmyk(21.37% 47.86% 0% 8.24%) | |
| Android | #ffb87aea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.99:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.00: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="#b87aea"
Gradient stop
<stop stop-color="#b87aea"/>
CSS variable + fill
:root { --c: #b87aea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b87aea; background-color: #b87aea; bg-[#b87aea]