#b994ef
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 | #b994ef | |
| RGB | rgb(185 148 239) | |
| HSL | hsl(264.4 73.98% 75.88%) | |
| OKLCH | oklch(0.74 0.13 301.95) | |
| CMYK | cmyk(22.59% 38.08% 0% 6.27%) | |
| Android | #ffb994ef |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.45:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.54: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="#b994ef"
Gradient stop
<stop stop-color="#b994ef"/>
CSS variable + fill
:root { --c: #b994ef; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b994ef; background-color: #b994ef; bg-[#b994ef]