#B797EC Color Information

Hex color code: #B797EC

The hex color #B797EC is a airy purple with RGB values of (183, 151, 236) and HSL of (263°, 69%, 76%). It is widely used in graphic design.

Try:
Color NamePlum
HEX
#B797EC
RGB
183, 151, 236
HSL
263°, 69%, 76%
CMYK
22%, 36%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B797EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

183, 151, 236

Red: 183 / Green: 151 / Blue: 236

HSL

263°, 69%, 76%

Hue: 263° / Saturation: 69% / Lightness: 76%

CMYK

22%, 36%, 0%, 7%

Cyan: 22% / Magenta: 36% / Yellow: 0% / Key: 7%

What color is #B797EC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B797EC to RGB:

rgb(183, 151, 236)HEX to RGB Converter →

HEX to HSL

Convert #B797EC to HSL:

hsl(263, 69%, 76%)RGB to HSL Converter →

HEX to CMYK

Convert #B797EC to CMYK:

cmyk(22%, 36%, 0%, 7%)Color Converter →

Color Meaning and Usage

#B797EC is a airy purple color with RGB values of 183, 151, 236 and HSL of 263°, 69%, 76%. This blue-purple hue evokes creativity and luxury, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B797EC is #CCEC98, creating high-contrast pairings. For softer combinations, try analogous colors like #98A1EC.

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

Contrast with #B797EC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B797EC?

#B797EC is a airy purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #B797EC?

#B797EC in RGB is (183, 151, 236) - 183 red, 151 green, and 236 blue.

How to use #B797EC in CSS?

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

What colors go well with #B797EC?

#CCEC98 (complementary), #98A1EC (analogous), and #8C57E0 (lighter shade) work well with #B797EC.