#804b94
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 | #804b94 | |
| RGB | rgb(128 75 148) | |
| HSL | hsl(283.56 32.74% 43.73%) | |
| OKLCH | oklch(0.5 0.13 316.14) | |
| CMYK | cmyk(13.51% 49.32% 0% 41.96%) | |
| Android | #ff804b94 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.26:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.35: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="#804b94"
Gradient stop
<stop stop-color="#804b94"/>
CSS variable + fill
:root { --c: #804b94; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #804b94; background-color: #804b94; bg-[#804b94]