#bb85f6
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 | #bb85f6 | |
| RGB | rgb(187 133 246) | |
| HSL | hsl(268.67 86.26% 74.31%) | |
| OKLCH | oklch(0.72 0.17 304.59) | |
| CMYK | cmyk(23.98% 45.93% 0% 3.53%) | |
| Android | #ffbb85f6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.69:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.79: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="#bb85f6"
Gradient stop
<stop stop-color="#bb85f6"/>
CSS variable + fill
:root { --c: #bb85f6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bb85f6; background-color: #bb85f6; bg-[#bb85f6]