#ba85db
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 | #ba85db | |
| RGB | rgb(186 133 219) | |
| HSL | hsl(276.98 54.43% 69.02%) | |
| OKLCH | oklch(0.7 0.13 311.61) | |
| CMYK | cmyk(15.07% 39.27% 0% 14.12%) | |
| Android | #ffba85db |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.81:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.46: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="#ba85db"
Gradient stop
<stop stop-color="#ba85db"/>
CSS variable + fill
:root { --c: #ba85db; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba85db; background-color: #ba85db; bg-[#ba85db]