#bf56f4
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 | #bf56f4 | |
| RGB | rgb(191 86 244) | |
| HSL | hsl(279.87 87.78% 64.71%) | |
| OKLCH | oklch(0.65 0.23 312.26) | |
| CMYK | cmyk(21.72% 64.75% 0% 4.31%) | |
| Android | #ffbf56f4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.58:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.85: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="#bf56f4"
Gradient stop
<stop stop-color="#bf56f4"/>
CSS variable + fill
:root { --c: #bf56f4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bf56f4; background-color: #bf56f4; bg-[#bf56f4]