#bb59fb
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 | #bb59fb | |
| RGB | rgb(187 89 251) | |
| HSL | hsl(276.3 95.29% 66.67%) | |
| OKLCH | oklch(0.66 0.24 309.13) | |
| CMYK | cmyk(25.5% 64.54% 0% 1.57%) | |
| Android | #ffbb59fb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.53:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.93: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="#bb59fb"
Gradient stop
<stop stop-color="#bb59fb"/>
CSS variable + fill
:root { --c: #bb59fb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bb59fb; background-color: #bb59fb; bg-[#bb59fb]