#b186ea
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 | #b186ea | |
| RGB | rgb(177 134 234) | |
| HSL | hsl(265.8 70.42% 72.16%) | |
| OKLCH | oklch(0.7 0.15 302.6) | |
| CMYK | cmyk(24.36% 42.74% 0% 8.24%) | |
| Android | #ffb186ea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.81:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.46: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="#b186ea"
Gradient stop
<stop stop-color="#b186ea"/>
CSS variable + fill
:root { --c: #b186ea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b186ea; background-color: #b186ea; bg-[#b186ea]