#eba1ff
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 | #eba1ff | |
| RGB | rgb(235 161 255) | |
| HSL | hsl(287.23 100% 81.57%) | |
| OKLCH | oklch(0.81 0.15 318.93) | |
| CMYK | cmyk(7.84% 36.86% 0% 0%) | |
| Android | #ffeba1ff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.89:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.07: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="#eba1ff"
Gradient stop
<stop stop-color="#eba1ff"/>
CSS variable + fill
:root { --c: #eba1ff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #eba1ff; background-color: #eba1ff; bg-[#eba1ff]