#bf57fb
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 | #bf57fb | |
| RGB | rgb(191 87 251) | |
| HSL | hsl(278.05 95.35% 66.27%) | |
| OKLCH | oklch(0.66 0.24 310.6) | |
| CMYK | cmyk(23.9% 65.34% 0% 1.57%) | |
| Android | #ffbf57fb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.51:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.97: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="#bf57fb"
Gradient stop
<stop stop-color="#bf57fb"/>
CSS variable + fill
:root { --c: #bf57fb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bf57fb; background-color: #bf57fb; bg-[#bf57fb]