#C171EC Color Information

Hex color code: #C171EC

#C171EC is a bold purple color. In RGB it is (193, 113, 236), and in HSL it is (279°, 76%, 68%). It is often used for branding and logos.

Try:
Color NameMedium Orchid
HEX
#C171EC
RGB
193, 113, 236
HSL
279°, 76%, 68%
CMYK
18%, 52%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C171EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

193, 113, 236

Red: 193 / Green: 113 / Blue: 236

HSL

279°, 76%, 68%

Hue: 279° / Saturation: 76% / Lightness: 68%

CMYK

18%, 52%, 0%, 7%

Cyan: 18% / Magenta: 52% / Yellow: 0% / Key: 7%

What color is #C171EC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C171EC to RGB:

rgb(193, 113, 236)HEX to RGB Converter →

HEX to HSL

Convert #C171EC to HSL:

hsl(279, 76%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #C171EC to CMYK:

cmyk(18%, 52%, 0%, 7%)Color Converter →

Color Meaning and Usage

#C171EC is a vivid purple color with RGB values of 193, 113, 236 and HSL of 279°, 76%, 68%. This magenta-red hue evokes romance and playfulness, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C171EC is #9BEB6F, creating high-contrast pairings. For softer combinations, try analogous colors like #826FEB.

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

Contrast with #C171EC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C171EC?

#C171EC is a vivid purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #C171EC?

#C171EC in RGB is (193, 113, 236) - 193 red, 113 green, and 236 blue.

How to use #C171EC in CSS?

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

What colors go well with #C171EC?

#9BEB6F (complementary), #826FEB (analogous), and #A22CE2 (lighter shade) work well with #C171EC.