#B262B7 Color Information

Hex color code: #B262B7

#B262B7 is a gentle magenta color. In RGB it is (178, 98, 183), and in HSL it is (296°, 37%, 55%). It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#B262B7
RGB
178, 98, 183
HSL
296°, 37%, 55%
CMYK
3%, 46%, 0%, 28%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B262B7; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 98, 183

Red: 178 / Green: 98 / Blue: 183

HSL

296°, 37%, 55%

Hue: 296° / Saturation: 37% / Lightness: 55%

CMYK

3%, 46%, 0%, 28%

Cyan: 3% / Magenta: 46% / Yellow: 0% / Key: 28%

What color is #B262B7?

#B262B7 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B262B7 to RGB:

rgb(178, 98, 183)HEX to RGB Converter →

HEX to HSL

Convert #B262B7 to HSL:

hsl(296, 37%, 55%)RGB to HSL Converter →

HEX to CMYK

Convert #B262B7 to CMYK:

cmyk(3%, 46%, 0%, 28%)Color Converter →

Color Meaning and Usage

#B262B7 is a gentle magenta color with RGB values of 178, 98, 183 and HSL of 296°, 37%, 55%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B262B7 is #67B762, creating high-contrast pairings. For softer combinations, try analogous colors like #8762B7.

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

Contrast with #B262B7

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B262B7?

#B262B7 is a gentle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B262B7?

#B262B7 in RGB is (178, 98, 183) - 178 red, 98 green, and 183 blue.

How to use #B262B7 in CSS?

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

What colors go well with #B262B7?

#67B762 (complementary), #8762B7 (analogous), and #87408C (lighter shade) work well with #B262B7.