#C227EC Color Information

Hex color code: #C227EC

#C227EC is a striking magenta color. In RGB it is (194, 39, 236), and in HSL it is (287°, 84%, 54%). It is often used for branding and logos.

Try:
Color NameMedium Orchid
HEX
#C227EC
RGB
194, 39, 236
HSL
287°, 84%, 54%
CMYK
18%, 83%, 0%, 7%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C227EC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

194, 39, 236

Red: 194 / Green: 39 / Blue: 236

HSL

287°, 84%, 54%

Hue: 287° / Saturation: 84% / Lightness: 54%

CMYK

18%, 83%, 0%, 7%

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

What color is #C227EC?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C227EC to RGB:

rgb(194, 39, 236)HEX to RGB Converter →

HEX to HSL

Convert #C227EC to HSL:

hsl(287, 84%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #C227EC to CMYK:

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

Color Meaning and Usage

A striking magenta tone, #C227EC has RGB (194, 39, 236) and HSL (287°, 84%, 54%). Known for evoking energy and excitement, this highly saturated hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C227EC is #52EC27, creating high-contrast pairings. For softer combinations, try analogous colors like #5F27EC.

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

Contrast with #C227EC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C227EC?

#C227EC is a striking magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #C227EC?

#C227EC in RGB is (194, 39, 236) - 194 red, 39 green, and 236 blue.

How to use #C227EC in CSS?

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

What colors go well with #C227EC?

#52EC27 (complementary), #5F27EC (analogous), and #9310B7 (lighter shade) work well with #C227EC.