What is hex #B548FF color?

 
The hex code #B548FF is closest to the named color Medium Orchid (#BA55D3).
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, 28% green and 100% blue, resulting in rgb(181, 72, 255) and hsl(276, 100%, 64%).
For print media and manufacturing layout, the CMYK equivalent is (29%, 72%, 0%, 0%).
In the HSV/HSB scale, #B548FF features a hue of 276°, 72% saturation, and 100% brightness.

Hex #B548FF Color Codes & Conversions

Closest Named Color
Medium Orchid (#BA55D3)
Hex Code #B548FF
Hex8 (RGBA Hex) #B548FFFF
RGB (CSS) rgb(181, 72, 255)
RGBA (CSS) rgba(181, 72, 255, 1)
HSL (CSS) hsl(276, 100%, 64%)
HSLA (CSS) hsla(276, 100%, 64%, 1)
HSV / HSB (276°, 72%, 100%)
CMYK Values (29%, 72%, 0%, 0%)
OKLCH (Modern CSS) oklch(63.3% 0.259 307.7)
CIE-LAB (D65) 53.68, 72.51, -72.09
CIE XYZ 39.42, 21.68, 96.70
Decimal / Binary 11880703
10110101 01001000 11111111

Closest Standards & Equivalents

Closest Web Safe
#CC33FF
Inverse Color
#4AB700
Complementary Color
#92FF48
Closest Pantone®
Pantone 2582 C
Closest RAL
RAL 4010 [Telemagenta]

#B548FF Grayscale Equivalents

Average
#A9A9A9 [Dark Medium Gray]
Lightness (Desaturation)
#A4A4A4
Weighted (BT601)
#7D7D7D
Luma (BT709)
#6C6C6C

WCAG 2.1 Color Contrast & Accessibility

Check how #B548FF 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 #B548FF

Sample preview of readable typography on top of #B548FF.

Contrast Ratio: 3.94:1
AA Fail AAA Fail

Black Text on #B548FF

Sample preview of readable typography on top of #B548FF.

Contrast Ratio: 5.34:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #B548FF

Preview #B548FF in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #B548FF;
Typography Color Preview
color: #B548FF;
Border & Shadow Preview
border: 2px solid #B548FF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #B548FF;
  --color-primary-rgb: 181, 72, 255;
  --color-complementary: #92FF48;
}
.btn-accent {
  background-color: #B548FF;
  color: #000000;
}

Hex #B548FF Color Palettes

Complementary Palette

The complementary color of #B548FF is #92FF48. 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 #B548FF pairs with #5948FF and #FF48ED, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #B548FF pairs with #48FF59 and #EDFF48, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #B548FF uses #48FFB5 and #FFB548, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #B548FF combines #FFB548, #92FF48 and #4892FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #B548FF pairs with #FF5948, #92FF48 and #48EDFF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #B548FF

Tints

Tints are created by mixing #B548FF with white, producing lighter variations.

Tones

Tones are created by mixing #B548FF with gray, softening saturation.

Shades

Shades result from mixing #B548FF with black, creating deeper variations.

Hex #B548FF in Programming & CSS Frameworks

Copy the exact syntax for #B548FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #B548FF
Tailwind CSS bg-[#B548FF] text-[#B548FF]
Java (AWT) new Color(181,72,255);
Python Color("#B548FF")
.NET (C#) Color.FromArgb(255, 181,72,255);
Swift / iOS UIColor(red: 0.71, green: 0.28, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(181, 72, 255)