What is hex #BF40FF color?
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.
From a technical standpoint, this color is composed of 75% red, 25% green and 100% blue, resulting in rgb(191, 64, 255) and hsl(280, 100%, 63%).
For print media and manufacturing layout, the CMYK equivalent is (25%, 75%, 0%, 0%).
In the HSV/HSB scale, #BF40FF features a hue of 280°, 75% saturation, and 100% brightness.
Hex #BF40FF Color Codes & Conversions
| Closest Named Color | Medium Orchid (#BA55D3) |
| Hex Code | #BF40FF |
| Hex8 (RGBA Hex) | #BF40FFFF |
| RGB (CSS) | rgb(191, 64, 255) |
| RGBA (CSS) | rgba(191, 64, 255, 1) |
| HSL (CSS) | hsl(280, 100%, 63%) |
| HSLA (CSS) | hsla(280, 100%, 63%, 1) |
| HSV / HSB | (280°, 75%, 100%) |
| CMYK Values | (25%, 75%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(63.8% 0.269 311.2) |
| CIE-LAB (D65) | 53.99, 77.23, -71.54 |
| CIE XYZ | 41.37, 21.96, 96.65 |
| Decimal / Binary |
12534015
10111111 01000000 11111111 |
Closest Standards & Equivalents
| Closest Web Safe | #CC33FF |
| Inverse Color | #40BF00 |
| Complementary Color | #80FF40 |
| Closest Pantone® | Pantone 2582 C |
| Closest RAL | RAL 4010 [Telemagenta] |
#BF40FF Grayscale Equivalents
| Average | #AAAAAA |
| Lightness (Desaturation) | #A0A0A0 |
| Weighted (BT601) | #7C7C7C |
| Luma (BT709) | #696969 [Dim Grey] |
WCAG 2.1 Color Contrast & Accessibility
Check how #BF40FF complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.
White Text on #BF40FF
Sample preview of readable typography on top of #BF40FF.
Black Text on #BF40FF
Sample preview of readable typography on top of #BF40FF.
HTML / CSS Live Previews & Snippets for #BF40FF
Preview #BF40FF in real UI elements and copy ready-to-use CSS rules.
background-color: #BF40FF;
color: #BF40FF;
border: 2px solid #BF40FF;
:root {
--color-primary: #BF40FF;
--color-primary-rgb: 191, 64, 255;
--color-complementary: #80FF40;
}
.btn-accent {
background-color: #BF40FF;
color: #000000;
}
Hex #BF40FF Color Palettes
Complementary Palette
The complementary color of #BF40FF is #80FF40. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.
Analogous Palette
The analogous color scheme of #BF40FF pairs with #5F40FF and #FF40DF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #BF40FF pairs with #40FF5F and #DFFF40, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #BF40FF uses #40FFBF and #FFBF40, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #BF40FF combines #FFBF40, #80FF40 and #4080FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #BF40FF pairs with #FF5F40, #80FF40 and #40DFFF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #BF40FF
Tints
Tints are created by mixing #BF40FF with white, producing lighter variations.
Tones
Tones are created by mixing #BF40FF with gray, softening saturation.
Shades
Shades result from mixing #BF40FF with black, creating deeper variations.
Hex #BF40FF in Programming & CSS Frameworks
Copy the exact syntax for #BF40FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #BF40FF |
| Tailwind CSS | bg-[#BF40FF] text-[#BF40FF] |
| Java (AWT) | new Color(191,64,255); |
| Python | Color("#BF40FF") |
| .NET (C#) | Color.FromArgb(255, 191,64,255); |
| Swift / iOS | UIColor(red: 0.75, green: 0.25, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(191, 64, 255) |