#b96eca
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 | #b96eca | |
| RGB | rgb(185 110 202) | |
| HSL | hsl(288.91 46.46% 61.18%) | |
| OKLCH | oklch(0.65 0.15 320.02) | |
| CMYK | cmyk(8.42% 45.54% 0% 20.78%) | |
| Android | #ffb96eca |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.41:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.14: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="#b96eca"
Gradient stop
<stop stop-color="#b96eca"/>
CSS variable + fill
:root { --c: #b96eca; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b96eca; background-color: #b96eca; bg-[#b96eca]