#ba72ce
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 | #ba72ce | |
| RGB | rgb(186 114 206) | |
| HSL | hsl(286.96 48.42% 62.75%) | |
| OKLCH | oklch(0.66 0.15 318.66) | |
| CMYK | cmyk(9.71% 44.66% 0% 19.22%) | |
| Android | #ffba72ce |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.28:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.38:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#ba72ce"
Gradient stop
<stop stop-color="#ba72ce"/>
CSS variable + fill
:root { --c: #ba72ce; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba72ce; background-color: #ba72ce; bg-[#ba72ce]