#bf56e4
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 | #bf56e4 | |
| RGB | rgb(191 86 228) | |
| HSL | hsl(284.37 72.45% 61.57%) | |
| OKLCH | oklch(0.64 0.22 316.2) | |
| CMYK | cmyk(16.23% 62.28% 0% 10.59%) | |
| Android | #ffbf56e4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.70:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.66: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="#bf56e4"
Gradient stop
<stop stop-color="#bf56e4"/>
CSS variable + fill
:root { --c: #bf56e4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bf56e4; background-color: #bf56e4; bg-[#bf56e4]