#B998EB Color Information

Hex color code: #B998EB

#B998EB is a light purple color. In RGB it is (185, 152, 235), and in HSL it is (264°, 67%, 76%). It is commonly used in modern UI design.

Try:
Color NamePlum
HEX
#B998EB
RGB
185, 152, 235
HSL
264°, 67%, 76%
CMYK
21%, 35%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #B998EB; 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 #B998EB; background-color: #B998EB15; }

Alert / Toast

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

Link / Accent

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

a { color: #B998EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

185, 152, 235

Red: 185 / Green: 152 / Blue: 235

HSL

264°, 67%, 76%

Hue: 264° / Saturation: 67% / Lightness: 76%

CMYK

21%, 35%, 0%, 8%

Cyan: 21% / Magenta: 35% / Yellow: 0% / Key: 8%

What color is #B998EB?

#B998EB is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B998EB to RGB:

rgb(185, 152, 235)HEX to RGB Converter →

HEX to HSL

Convert #B998EB to HSL:

hsl(264, 67%, 76%)RGB to HSL Converter →

HEX to CMYK

Convert #B998EB to CMYK:

cmyk(21%, 35%, 0%, 8%)Color Converter →

Color Meaning and Usage

A ethereal purple tone, #B998EB has RGB (185, 152, 235) and HSL (264°, 67%, 76%). Known for evoking creativity and luxury, this blue-purple hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B998EB is #CAEB99, creating high-contrast pairings. For softer combinations, try analogous colors like #99A1EB.

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

Contrast with #B998EB

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

Contrast Ratio: 8.75:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B998EB?

#B998EB is a ethereal purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #B998EB?

#B998EB in RGB is (185, 152, 235) - 185 red, 152 green, and 235 blue.

How to use #B998EB in CSS?

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

What colors go well with #B998EB?

#CAEB99 (complementary), #99A1EB (analogous), and #8E59DE (lighter shade) work well with #B998EB.