#b94eff
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 | #b94eff | |
| RGB | rgb(185 78 255) | |
| HSL | hsl(276.27 100% 65.29%) | |
| OKLCH | oklch(0.64 0.25 308.52) | |
| CMYK | cmyk(27.45% 69.41% 0% 0%) | |
| Android | #ffb94eff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.75:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.59: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="#b94eff"
Gradient stop
<stop stop-color="#b94eff"/>
CSS variable + fill
:root { --c: #b94eff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b94eff; background-color: #b94eff; bg-[#b94eff]