#b804b7
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 | #b804b7 | |
| RGB | rgb(184 4 183) | |
| HSL | hsl(300.33 95.74% 36.86%) | |
| OKLCH | oklch(0.55 0.25 328.64) | |
| CMYK | cmyk(0% 97.83% 0.54% 27.84%) | |
| Android | #ffb804b7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.61:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.73: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="#b804b7"
Gradient stop
<stop stop-color="#b804b7"/>
CSS variable + fill
:root { --c: #b804b7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b804b7; background-color: #b804b7; bg-[#b804b7]