#896beb
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 | #896beb | |
| RGB | rgb(137 107 235) | |
| HSL | hsl(254.06 76.19% 67.06%) | |
| OKLCH | oklch(0.62 0.19 290.77) | |
| CMYK | cmyk(41.7% 54.47% 0% 7.84%) | |
| Android | #ff896beb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.91:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.36: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="#896beb"
Gradient stop
<stop stop-color="#896beb"/>
CSS variable + fill
:root { --c: #896beb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #896beb; background-color: #896beb; bg-[#896beb]