#bfb8ff
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 | #bfb8ff | |
| RGB | rgb(191 184 255) | |
| HSL | hsl(245.92 100% 86.08%) | |
| OKLCH | oklch(0.81 0.1 288.5) | |
| CMYK | cmyk(25.1% 27.84% 0% 0%) | |
| Android | #ffbfb8ff |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.82:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.51: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="#bfb8ff"
Gradient stop
<stop stop-color="#bfb8ff"/>
CSS variable + fill
:root { --c: #bfb8ff; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bfb8ff; background-color: #bfb8ff; bg-[#bfb8ff]