#BF00FF color
#BF00FF is a medium, vivid violet, closest to the CSS named color darkviolet (#9400D3).
Color values
| HEX | #BF00FF |
| RGB | rgb(191, 0, 255) |
| HSL | hsl(285, 100%, 50%) |
| CMYK | cmyk(25%, 100%, 0%, 0%) |
| Decimal | 12517631 |
| CSS | color: #BF00FF; |
| Android | 0xFFBF00FF |
| Swift | UIColor(red: 0.749, green: 0.000, blue: 1.000, alpha: 1) |
Accessibility and contrast
| White text on #BF00FF | 4.51:1 — AA pass · AA large pass · AAA fail |
| Black text on #BF00FF | 4.66: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 #BF00FF
Each swatch keeps the hue and saturation of #BF00FF and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #BF00FF
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #BF00FF in code
/* CSS */
.element { color: #BF00FF; background-color: #BF00FF; }
.element { color: rgb(191 0 255); }
.element { color: hsl(285 100% 50%); }
/* Tailwind arbitrary value */
<div class="bg-[#BF00FF] text-black">
/* SCSS variable */
$brand: #BF00FF;
Frequently asked questions
What color is #BF00FF?
#BF00FF is a medium, vivid violet. Its hue sits at 285° on the color wheel, with 100% saturation and 50% lightness.
What is #BF00FF in RGB?
#BF00FF converts to rgb(191, 0, 255) — 191 red, 0 green and 255 blue.
What is #BF00FF in CMYK?
Approximately cmyk(25%, 100%, 0%, 0%). 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 #BF00FF be white or black?
Black gives the better contrast ratio (4.66:1 versus 4.51:1).
What is the complementary color of #BF00FF?
#40FF00 — the hue directly opposite #BF00FF on the color wheel.