What is hex #B239FF 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 70% red, 22% green and 100% blue, resulting in rgb(178, 57, 255) and hsl(277, 100%, 61%).
For print media and manufacturing layout, the CMYK equivalent is (30%, 78%, 0%, 0%).
In the HSV/HSB scale, #B239FF features a hue of 277°, 78% saturation, and 100% brightness.
Hex #B239FF Color Codes & Conversions
| Closest Named Color | Blue Violet (#8A2BE2) |
| Hex Code | #B239FF |
| Hex8 (RGBA Hex) | #B239FFFF |
| RGB (CSS) | rgb(178, 57, 255) |
| RGBA (CSS) | rgba(178, 57, 255, 1) |
| HSL (CSS) | hsl(277, 100%, 61%) |
| HSLA (CSS) | hsla(277, 100%, 61%, 1) |
| HSV / HSB | (277°, 78%, 100%) |
| CMYK Values | (30%, 78%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(61.6% 0.273 307.7) |
| CIE-LAB (D65) | 51.40, 77.42, -75.83 |
| CIE XYZ | 37.87, 19.61, 96.38 |
| Decimal / Binary |
11680255
10110010 00111001 11111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #B239FF 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 #B239FF
Sample preview of readable typography on top of #B239FF.
Black Text on #B239FF
Sample preview of readable typography on top of #B239FF.
HTML / CSS Live Previews & Snippets for #B239FF
Preview #B239FF in real UI elements and copy ready-to-use CSS rules.
background-color: #B239FF;
color: #B239FF;
border: 2px solid #B239FF;
:root {
--color-primary: #B239FF;
--color-primary-rgb: 178, 57, 255;
--color-complementary: #86FF39;
}
.btn-accent {
background-color: #B239FF;
color: #000000;
}
Hex #B239FF Color Palettes
Complementary Palette
The complementary color of #B239FF is #86FF39. 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 #B239FF pairs with #4F39FF and #FF39E9, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #B239FF pairs with #39FF4F and #E9FF39, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #B239FF uses #39FFB2 and #FFB239, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #B239FF combines #FFB239, #86FF39 and #3986FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #B239FF pairs with #FF4F39, #86FF39 and #39E9FF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #B239FF
Tints
Tints are created by mixing #B239FF with white, producing lighter variations.
Tones
Tones are created by mixing #B239FF with gray, softening saturation.
Shades
Shades result from mixing #B239FF with black, creating deeper variations.
Hex #B239FF in Programming & CSS Frameworks
Copy the exact syntax for #B239FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #B239FF |
| Tailwind CSS | bg-[#B239FF] text-[#B239FF] |
| Java (AWT) | new Color(178,57,255); |
| Python | Color("#B239FF") |
| .NET (C#) | Color.FromArgb(255, 178,57,255); |
| Swift / iOS | UIColor(red: 0.7, green: 0.22, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(178, 57, 255) |