#ba5eec
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 | #ba5eec | |
| RGB | rgb(186 94 236) | |
| HSL | hsl(278.87 78.89% 64.71%) | |
| OKLCH | oklch(0.65 0.21 311.79) | |
| CMYK | cmyk(21.19% 60.17% 0% 7.45%) | |
| Android | #ffba5eec |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.55:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.90: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="#ba5eec"
Gradient stop
<stop stop-color="#ba5eec"/>
CSS variable + fill
:root { --c: #ba5eec; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba5eec; background-color: #ba5eec; bg-[#ba5eec]