#893cd1
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 | #893cd1 | |
| RGB | rgb(137 60 209) | |
| HSL | hsl(271.01 61.83% 52.75%) | |
| OKLCH | oklch(0.53 0.22 303.31) | |
| CMYK | cmyk(34.45% 71.29% 0% 18.04%) | |
| Android | #ff893cd1 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.78:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.63: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="#893cd1"
Gradient stop
<stop stop-color="#893cd1"/>
CSS variable + fill
:root { --c: #893cd1; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #893cd1; background-color: #893cd1; bg-[#893cd1]