#C778F2 Color Information

Hex color code: #C778F2

A vivid purple shade, #C778F2 appears as (199, 120, 242) in RGB and (279°, 82%, 71%) in HSL. It is commonly used in modern UI design.

Try:
Color NameViolet
HEX
#C778F2
RGB
199, 120, 242
HSL
279°, 82%, 71%
CMYK
18%, 50%, 0%, 5%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C778F2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

199, 120, 242

Red: 199 / Green: 120 / Blue: 242

HSL

279°, 82%, 71%

Hue: 279° / Saturation: 82% / Lightness: 71%

CMYK

18%, 50%, 0%, 5%

Cyan: 18% / Magenta: 50% / Yellow: 0% / Key: 5%

What color is #C778F2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C778F2 to RGB:

rgb(199, 120, 242)HEX to RGB Converter →

HEX to HSL

Convert #C778F2 to HSL:

hsl(279, 82%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #C778F2 to CMYK:

cmyk(18%, 50%, 0%, 5%)Color Converter →

Color Meaning and Usage

A bold purple tone, #C778F2 has RGB (199, 120, 242) and HSL (279°, 82%, 71%). Known for evoking energy and excitement, this highly saturated hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C778F2 is #A3F278, creating high-contrast pairings. For softer combinations, try analogous colors like #8B78F2.

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

Contrast with #C778F2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C778F2?

#C778F2 is a bold purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #C778F2?

#C778F2 in RGB is (199, 120, 242) - 199 red, 120 green, and 242 blue.

How to use #C778F2 in CSS?

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

What colors go well with #C778F2?

#A3F278 (complementary), #8B78F2 (analogous), and #AA33EB (lighter shade) work well with #C778F2.