What is hex #B520FF 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, 13% green and 100% blue, resulting in rgb(181, 32, 255) and hsl(280, 100%, 56%).
For print media and manufacturing layout, the CMYK equivalent is (29%, 87%, 0%, 0%).
In the HSV/HSB scale, #B520FF features a hue of 280°, 87% saturation, and 100% brightness.
Hex #B520FF Color Codes & Conversions
| Closest Named Color | Electric Purple (#BF00FF) |
| Hex Code | #B520FF |
| Hex8 (RGBA Hex) | #B520FFFF |
| RGB (CSS) | rgb(181, 32, 255) |
| RGBA (CSS) | rgba(181, 32, 255, 1) |
| HSL (CSS) | hsl(280, 100%, 56%) |
| HSLA (CSS) | hsla(280, 100%, 56%, 1) |
| HSV / HSB | (280°, 87%, 100%) |
| CMYK Values | (29%, 87%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(60.4% 0.291 309.6) |
| CIE-LAB (D65) | 49.59, 84.39, -78.76 |
| CIE XYZ | 37.62, 18.08, 96.10 |
| Decimal / Binary |
11870463
10110101 00100000 11111111 |
Closest Standards & Equivalents
| Closest Web Safe | #CC33FF |
| Inverse Color | #4ADF00 |
| Complementary Color | #6AFF20 |
| Closest Pantone® | Pantone Purple C |
| Closest RAL | RAL 4010 [Telemagenta] |
#B520FF Grayscale Equivalents
| Average | #9C9C9C |
| Lightness (Desaturation) | #909090 |
| Weighted (BT601) | #666666 |
| Luma (BT709) | #505050 |
WCAG 2.1 Color Contrast & Accessibility
Check how #B520FF 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 #B520FF
Sample preview of readable typography on top of #B520FF.
Black Text on #B520FF
Sample preview of readable typography on top of #B520FF.
HTML / CSS Live Previews & Snippets for #B520FF
Preview #B520FF in real UI elements and copy ready-to-use CSS rules.
background-color: #B520FF;
color: #B520FF;
border: 2px solid #B520FF;
:root {
--color-primary: #B520FF;
--color-primary-rgb: 181, 32, 255;
--color-complementary: #6AFF20;
}
.btn-accent {
background-color: #B520FF;
color: #000000;
}
Hex #B520FF Color Palettes
Complementary Palette
The complementary color of #B520FF is #6AFF20. 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 #B520FF pairs with #4520FF and #FF20D9, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #B520FF pairs with #20FF45 and #D9FF20, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #B520FF uses #20FFB5 and #FFB520, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #B520FF combines #FFB520, #6AFF20 and #206AFF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #B520FF pairs with #FF4520, #6AFF20 and #20D9FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #B520FF
Tints
Tints are created by mixing #B520FF with white, producing lighter variations.
Tones
Tones are created by mixing #B520FF with gray, softening saturation.
Shades
Shades result from mixing #B520FF with black, creating deeper variations.
Hex #B520FF in Programming & CSS Frameworks
Copy the exact syntax for #B520FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #B520FF |
| Tailwind CSS | bg-[#B520FF] text-[#B520FF] |
| Java (AWT) | new Color(181,32,255); |
| Python | Color("#B520FF") |
| .NET (C#) | Color.FromArgb(255, 181,32,255); |
| Swift / iOS | UIColor(red: 0.71, green: 0.13, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(181, 32, 255) |