#B248EF Color Information

Hex color code: #B248EF

The hex color #B248EF is a bold purple with RGB values of (178, 72, 239) and HSL of (278°, 84%, 61%). It is often used for branding and logos.

Try:
Color NameMedium Orchid
HEX
#B248EF
RGB
178, 72, 239
HSL
278°, 84%, 61%
CMYK
26%, 70%, 0%, 6%

Shades

CSS Usage
color: #B248EF;
background-color: #B248EF;
border-color: #B248EF;
box-shadow: 0 0 10px #B248EF;
border: 2px solid #B248EF;
Tailwind Usage
bg-[#B248EF]
text-[#B248EF]
border-[#B248EF]
shadow-[0_0_10px_B248EF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #B248EF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #B248EF; color: #000000; }

Badge

New Feature
.badge { background-color: #B248EF; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #B248EF; background-color: #B248EF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #B248EF20; border-left: 4px solid #B248EF; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #B248EF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #B248EF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 72, 239

Red: 178 / Green: 72 / Blue: 239

HSL

278°, 84%, 61%

Hue: 278° / Saturation: 84% / Lightness: 61%

CMYK

26%, 70%, 0%, 6%

Cyan: 26% / Magenta: 70% / Yellow: 0% / Key: 6%

What color is #B248EF?

#B248EF is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B248EF to RGB:

rgb(178, 72, 239)HEX to RGB Converter →

HEX to HSL

Convert #B248EF to HSL:

hsl(278, 84%, 61%)RGB to HSL Converter →

HEX to CMYK

Convert #B248EF to CMYK:

cmyk(26%, 70%, 0%, 6%)Color Converter →

Color Meaning and Usage

#B248EF is a eye-catching purple color with RGB values of 178, 72, 239 and HSL of 278°, 84%, 61%. This highly saturated hue evokes energy and excitement, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B248EF is #85EF48, creating high-contrast pairings. For softer combinations, try analogous colors like #5E48EF.

Use #B248EF in CSS: color: #B248EF or background-color: #B248EF. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #B248EF

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 5.07:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B248EF?

#B248EF is a eye-catching purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #B248EF?

#B248EF in RGB is (178, 72, 239) - 178 red, 72 green, and 239 blue.

How to use #B248EF in CSS?

Use #B248EF directly in your CSS properties like color or background-color.

What colors go well with #B248EF?

#85EF48 (complementary), #5E48EF (analogous), and #9013D8 (lighter shade) work well with #B248EF.