#ba64de
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 | #ba64de | |
| RGB | rgb(186 100 222) | |
| HSL | hsl(282.3 64.89% 63.14%) | |
| OKLCH | oklch(0.65 0.19 314.9) | |
| CMYK | cmyk(16.22% 54.95% 0% 12.94%) | |
| Android | #ffba64de |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.52:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.96: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="#ba64de"
Gradient stop
<stop stop-color="#ba64de"/>
CSS variable + fill
:root { --c: #ba64de; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba64de; background-color: #ba64de; bg-[#ba64de]