#eb8eff
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 | #eb8eff | |
| RGB | rgb(235 142 255) | |
| HSL | hsl(289.38 100% 77.84%) | |
| OKLCH | oklch(0.78 0.18 320.34) | |
| CMYK | cmyk(7.84% 44.31% 0% 0%) | |
| Android | #ffeb8eff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.13:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.84: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="#eb8eff"
Gradient stop
<stop stop-color="#eb8eff"/>
CSS variable + fill
:root { --c: #eb8eff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #eb8eff; background-color: #eb8eff; bg-[#eb8eff]