#b05efb
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 | #b05efb | |
| RGB | rgb(176 94 251) | |
| HSL | hsl(271.34 95.15% 67.65%) | |
| OKLCH | oklch(0.65 0.23 304.9) | |
| CMYK | cmyk(29.88% 62.55% 0% 1.57%) | |
| Android | #ffb05efb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.59:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.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="#b05efb"
Gradient stop
<stop stop-color="#b05efb"/>
CSS variable + fill
:root { --c: #b05efb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b05efb; background-color: #b05efb; bg-[#b05efb]