#C97FEB Color Information

Hex color code: #C97FEB

A vivid purple shade, #C97FEB appears as (201, 127, 235) in RGB and (281°, 73%, 71%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameViolet
HEX
#C97FEB
RGB
201, 127, 235
HSL
281°, 73%, 71%
CMYK
14%, 46%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C97FEB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

201, 127, 235

Red: 201 / Green: 127 / Blue: 235

HSL

281°, 73%, 71%

Hue: 281° / Saturation: 73% / Lightness: 71%

CMYK

14%, 46%, 0%, 8%

Cyan: 14% / Magenta: 46% / Yellow: 0% / Key: 8%

What color is #C97FEB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C97FEB to RGB:

rgb(201, 127, 235)HEX to RGB Converter →

HEX to HSL

Convert #C97FEB to HSL:

hsl(281, 73%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #C97FEB to CMYK:

cmyk(14%, 46%, 0%, 8%)Color Converter →

Color Meaning and Usage

A dynamic purple tone, #C97FEB has RGB (201, 127, 235) and HSL (281°, 73%, 71%). Known for evoking romance and playfulness, this magenta-red hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C97FEB is #A1EB7F, creating high-contrast pairings. For softer combinations, try analogous colors like #937FEB.

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

Contrast with #C97FEB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C97FEB?

#C97FEB is a dynamic purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #C97FEB?

#C97FEB in RGB is (201, 127, 235) - 201 red, 127 green, and 235 blue.

How to use #C97FEB in CSS?

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

What colors go well with #C97FEB?

#A1EB7F (complementary), #937FEB (analogous), and #AD3DE1 (lighter shade) work well with #C97FEB.