#ba37cc
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 | #ba37cc | |
| RGB | rgb(186 55 204) | |
| HSL | hsl(292.75 59.36% 50.78%) | |
| OKLCH | oklch(0.59 0.23 322.56) | |
| CMYK | cmyk(8.82% 73.04% 0% 20%) | |
| Android | #ffba37cc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.66:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.50:1
Pass 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="#ba37cc"
Gradient stop
<stop stop-color="#ba37cc"/>
CSS variable + fill
:root { --c: #ba37cc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba37cc; background-color: #ba37cc; bg-[#ba37cc]