#b08ffb
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 | #b08ffb | |
| RGB | rgb(176 143 251) | |
| HSL | hsl(258.33 93.1% 77.25%) | |
| OKLCH | oklch(0.72 0.16 296.4) | |
| CMYK | cmyk(29.88% 43.03% 0% 1.57%) | |
| Android | #ffb08ffb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.57:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.16: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="#b08ffb"
Gradient stop
<stop stop-color="#b08ffb"/>
CSS variable + fill
:root { --c: #b08ffb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b08ffb; background-color: #b08ffb; bg-[#b08ffb]