#894dbd
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 | #894dbd | |
| RGB | rgb(137 77 189) | |
| HSL | hsl(272.14 45.9% 52.16%) | |
| OKLCH | oklch(0.54 0.17 306.17) | |
| CMYK | cmyk(27.51% 59.26% 0% 25.88%) | |
| Android | #ff894dbd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.44:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.86:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#894dbd"
Gradient stop
<stop stop-color="#894dbd"/>
CSS variable + fill
:root { --c: #894dbd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #894dbd; background-color: #894dbd; bg-[#894dbd]