#CB52E5 Color Information

Hex color code: #CB52E5

A vivid magenta shade, #CB52E5 appears as (203, 82, 229) in RGB and (289°, 74%, 61%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#CB52E5
RGB
203, 82, 229
HSL
289°, 74%, 61%
CMYK
11%, 64%, 0%, 10%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CB52E5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

203, 82, 229

Red: 203 / Green: 82 / Blue: 229

HSL

289°, 74%, 61%

Hue: 289° / Saturation: 74% / Lightness: 61%

CMYK

11%, 64%, 0%, 10%

Cyan: 11% / Magenta: 64% / Yellow: 0% / Key: 10%

What color is #CB52E5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CB52E5 to RGB:

rgb(203, 82, 229)HEX to RGB Converter →

HEX to HSL

Convert #CB52E5 to HSL:

hsl(289, 74%, 61%)RGB to HSL Converter →

HEX to CMYK

Convert #CB52E5 to CMYK:

cmyk(11%, 64%, 0%, 10%)Color Converter →

Color Meaning and Usage

A eye-catching magenta tone, #CB52E5 has RGB (203, 82, 229) and HSL (289°, 74%, 61%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CB52E5 is #6DE552, creating high-contrast pairings. For softer combinations, try analogous colors like #8152E5.

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

Contrast with #CB52E5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CB52E5?

#CB52E5 is a eye-catching magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #CB52E5?

#CB52E5 in RGB is (203, 82, 229) - 203 red, 82 green, and 229 blue.

How to use #CB52E5 in CSS?

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

What colors go well with #CB52E5?

#6DE552 (complementary), #8152E5 (analogous), and #AC1ECC (lighter shade) work well with #CB52E5.