#C540ED Color Information

Hex color code: #C540ED

A striking magenta shade, #C540ED appears as (197, 64, 237) in RGB and (286°, 83%, 59%) in HSL. It is often used for branding and logos.

Try:
Color NameMedium Orchid
HEX
#C540ED
RGB
197, 64, 237
HSL
286°, 83%, 59%
CMYK
17%, 73%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C540ED; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

197, 64, 237

Red: 197 / Green: 64 / Blue: 237

HSL

286°, 83%, 59%

Hue: 286° / Saturation: 83% / Lightness: 59%

CMYK

17%, 73%, 0%, 7%

Cyan: 17% / Magenta: 73% / Yellow: 0% / Key: 7%

What color is #C540ED?

#C540ED is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C540ED to RGB:

rgb(197, 64, 237)HEX to RGB Converter →

HEX to HSL

Convert #C540ED to HSL:

hsl(286, 83%, 59%)RGB to HSL Converter →

HEX to CMYK

Convert #C540ED to CMYK:

cmyk(17%, 73%, 0%, 7%)Color Converter →

Color Meaning and Usage

A bold magenta tone, #C540ED has RGB (197, 64, 237) and HSL (286°, 83%, 59%). Known for evoking energy and excitement, this highly saturated hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C540ED is #68ED40, creating high-contrast pairings. For softer combinations, try analogous colors like #6E40ED.

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

Contrast with #C540ED

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C540ED?

#C540ED is a bold magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #C540ED?

#C540ED in RGB is (197, 64, 237) - 197 red, 64 green, and 237 blue.

How to use #C540ED in CSS?

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

What colors go well with #C540ED?

#68ED40 (complementary), #6E40ED (analogous), and #A213CD (lighter shade) work well with #C540ED.