#873eae
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 | #873eae | |
| RGB | rgb(135 62 174) | |
| HSL | hsl(279.11 47.46% 46.27%) | |
| OKLCH | oklch(0.51 0.18 311.75) | |
| CMYK | cmyk(22.41% 64.37% 0% 31.76%) | |
| Android | #ff873eae |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.30:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.33: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="#873eae"
Gradient stop
<stop stop-color="#873eae"/>
CSS variable + fill
:root { --c: #873eae; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #873eae; background-color: #873eae; bg-[#873eae]