#BF40BF color
#BF40BF is a medium, moderately saturated magenta, closest to the CSS named color mediumorchid (#BA55D3).
Color values
| HEX | #BF40BF |
| RGB | rgb(191, 64, 191) |
| HSL | hsl(300, 50%, 50%) |
| CMYK | cmyk(0%, 66%, 0%, 25%) |
| Decimal | 12533951 |
| CSS | color: #BF40BF; |
| Android | 0xFFBF40BF |
| Swift | UIColor(red: 0.749, green: 0.251, blue: 0.749, alpha: 1) |
Accessibility and contrast
| White text on #BF40BF | 4.47:1 — AA fail · AA large pass · AAA fail |
| Black text on #BF40BF | 4.70:1 — AA pass · AA large pass · AAA fail |
| Recommended text color | black |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #BF40BF
Each swatch keeps the hue and saturation of #BF40BF and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #BF40BF
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #BF40BF in code
/* CSS */
.element { color: #BF40BF; background-color: #BF40BF; }
.element { color: rgb(191 64 191); }
.element { color: hsl(300 50% 50%); }
/* Tailwind arbitrary value */
<div class="bg-[#BF40BF] text-black">
/* SCSS variable */
$brand: #BF40BF;
Frequently asked questions
What color is #BF40BF?
#BF40BF is a medium, moderately saturated magenta. Its hue sits at 300° on the color wheel, with 50% saturation and 50% lightness.
What is #BF40BF in RGB?
#BF40BF converts to rgb(191, 64, 191) — 191 red, 64 green and 191 blue.
What is #BF40BF in CMYK?
Approximately cmyk(0%, 66%, 0%, 25%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #BF40BF be white or black?
Black gives the better contrast ratio (4.70:1 versus 4.47:1).
What is the complementary color of #BF40BF?
#40BF40 — the hue directly opposite #BF40BF on the color wheel.