#b86aee
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 | #b86aee | |
| RGB | rgb(184 106 238) | |
| HSL | hsl(275.45 79.52% 67.45%) | |
| OKLCH | oklch(0.67 0.2 309.31) | |
| CMYK | cmyk(22.69% 55.46% 0% 6.67%) | |
| Android | #ffb86aee |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.31:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.33: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="#b86aee"
Gradient stop
<stop stop-color="#b86aee"/>
CSS variable + fill
:root { --c: #b86aee; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b86aee; background-color: #b86aee; bg-[#b86aee]