#C7A2EB Color Information

Hex color code: #C7A2EB

The hex color #C7A2EB is a soft purple with RGB values of (199, 162, 235) and HSL of (270°, 65%, 78%). It is frequently seen in web interfaces.

Try:
Color NamePlum
HEX
#C7A2EB
RGB
199, 162, 235
HSL
270°, 65%, 78%
CMYK
15%, 31%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C7A2EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

199, 162, 235

Red: 199 / Green: 162 / Blue: 235

HSL

270°, 65%, 78%

Hue: 270° / Saturation: 65% / Lightness: 78%

CMYK

15%, 31%, 0%, 8%

Cyan: 15% / Magenta: 31% / Yellow: 0% / Key: 8%

What color is #C7A2EB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C7A2EB to RGB:

rgb(199, 162, 235)HEX to RGB Converter →

HEX to HSL

Convert #C7A2EB to HSL:

hsl(270, 65%, 78%)RGB to HSL Converter →

HEX to CMYK

Convert #C7A2EB to CMYK:

cmyk(15%, 31%, 0%, 8%)Color Converter →

Color Meaning and Usage

A soft purple tone, #C7A2EB has RGB (199, 162, 235) and HSL (270°, 65%, 78%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C7A2EB is #C7EBA2, creating high-contrast pairings. For softer combinations, try analogous colors like #A2A2EB.

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

Contrast with #C7A2EB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C7A2EB?

#C7A2EB is a soft purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #C7A2EB?

#C7A2EB in RGB is (199, 162, 235) - 199 red, 162 green, and 235 blue.

How to use #C7A2EB in CSS?

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

What colors go well with #C7A2EB?

#C7EBA2 (complementary), #A2A2EB (analogous), and #A163DE (lighter shade) work well with #C7A2EB.