What is hex #B511FF 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 71% red, 7% green and 100% blue, resulting in rgb(181, 17, 255) and hsl(281, 100%, 53%).
For print media and manufacturing layout, the CMYK equivalent is (29%, 93%, 0%, 0%).
In the HSV/HSB scale, #B511FF features a hue of 281°, 93% saturation, and 100% brightness.
Hex #B511FF Color Codes & Conversions
| Closest Named Color | Electric Purple (#BF00FF) |
| Hex Code | #B511FF |
| Hex8 (RGBA Hex) | #B511FFFF |
| RGB (CSS) | rgb(181, 17, 255) |
| RGBA (CSS) | rgba(181, 17, 255, 1) |
| HSL (CSS) | hsl(281, 100%, 53%) |
| HSLA (CSS) | hsla(281, 100%, 53%, 1) |
| HSV / HSB | (281°, 93%, 100%) |
| CMYK Values | (29%, 93%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(59.9% 0.297 310.0) |
| CIE-LAB (D65) | 48.82, 86.69, -80.02 |
| CIE XYZ | 37.30, 17.45, 95.99 |
| Decimal / Binary |
11866623
10110101 00010001 11111111 |
Closest Standards & Equivalents
| Closest Web Safe | #CC00FF |
| Inverse Color | #4AEE00 |
| Complementary Color | #5BFF11 |
| Closest Pantone® | Pantone Purple C |
| Closest RAL | RAL 4010 [Telemagenta] |
#B511FF Grayscale Equivalents
| Average | #979797 |
| Lightness (Desaturation) | #888888 |
| Weighted (BT601) | #5D5D5D |
| Luma (BT709) | #454545 |
WCAG 2.1 Color Contrast & Accessibility
Check how #B511FF 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 #B511FF
Sample preview of readable typography on top of #B511FF.
Black Text on #B511FF
Sample preview of readable typography on top of #B511FF.
HTML / CSS Live Previews & Snippets for #B511FF
Preview #B511FF in real UI elements and copy ready-to-use CSS rules.
background-color: #B511FF;
color: #B511FF;
border: 2px solid #B511FF;
:root {
--color-primary: #B511FF;
--color-primary-rgb: 181, 17, 255;
--color-complementary: #5BFF11;
}
.btn-accent {
background-color: #B511FF;
color: #ffffff;
}
Hex #B511FF Color Palettes
Complementary Palette
The complementary color of #B511FF is #5BFF11. 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 #B511FF pairs with #3E11FF and #FF11D2, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #B511FF pairs with #11FF3E and #D2FF11, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #B511FF uses #11FFB5 and #FFB511, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #B511FF combines #FFB511, #5BFF11 and #115BFF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #B511FF pairs with #FF3E11, #5BFF11 and #11D2FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #B511FF
Tints
Tints are created by mixing #B511FF with white, producing lighter variations.
Tones
Tones are created by mixing #B511FF with gray, softening saturation.
Shades
Shades result from mixing #B511FF with black, creating deeper variations.
Hex #B511FF in Programming & CSS Frameworks
Copy the exact syntax for #B511FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #B511FF |
| Tailwind CSS | bg-[#B511FF] text-[#B511FF] |
| Java (AWT) | new Color(181,17,255); |
| Python | Color("#B511FF") |
| .NET (C#) | Color.FromArgb(255, 181,17,255); |
| Swift / iOS | UIColor(red: 0.71, green: 0.07, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(181, 17, 255) |