#b989ee
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 | #b989ee | |
| RGB | rgb(185 137 238) | |
| HSL | hsl(268.51 74.81% 73.53%) | |
| OKLCH | oklch(0.72 0.15 304.81) | |
| CMYK | cmyk(22.27% 42.44% 0% 6.67%) | |
| Android | #ffb989ee |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.66:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.87: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="#b989ee"
Gradient stop
<stop stop-color="#b989ee"/>
CSS variable + fill
:root { --c: #b989ee; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b989ee; background-color: #b989ee; bg-[#b989ee]