#ba78de
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 | #ba78de | |
| RGB | rgb(186 120 222) | |
| HSL | hsl(278.82 60.71% 67.06%) | |
| OKLCH | oklch(0.68 0.16 312.66) | |
| CMYK | cmyk(16.22% 45.95% 0% 12.94%) | |
| Android | #ffba78de |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.07:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.82: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="#ba78de"
Gradient stop
<stop stop-color="#ba78de"/>
CSS variable + fill
:root { --c: #ba78de; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba78de; background-color: #ba78de; bg-[#ba78de]