#C798EB Color Information

Hex color code: #C798EB

A light purple shade, #C798EB appears as (199, 152, 235) in RGB and (274°, 67%, 76%) in HSL. It is commonly used in modern UI design.

Try:
Color NamePlum
HEX
#C798EB
RGB
199, 152, 235
HSL
274°, 67%, 76%
CMYK
15%, 35%, 0%, 8%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C798EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

199, 152, 235

Red: 199 / Green: 152 / Blue: 235

HSL

274°, 67%, 76%

Hue: 274° / Saturation: 67% / Lightness: 76%

CMYK

15%, 35%, 0%, 8%

Cyan: 15% / Magenta: 35% / Yellow: 0% / Key: 8%

What color is #C798EB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C798EB to RGB:

rgb(199, 152, 235)HEX to RGB Converter →

HEX to HSL

Convert #C798EB to HSL:

hsl(274, 67%, 76%)RGB to HSL Converter →

HEX to CMYK

Convert #C798EB to CMYK:

cmyk(15%, 35%, 0%, 8%)Color Converter →

Color Meaning and Usage

#C798EB is a light purple color with RGB values of 199, 152, 235 and HSL of 274°, 67%, 76%. This magenta-red hue evokes romance and playfulness, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C798EB is #BCEB99, creating high-contrast pairings. For softer combinations, try analogous colors like #9E99EB.

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

Contrast with #C798EB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C798EB?

#C798EB is a light purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #C798EB?

#C798EB in RGB is (199, 152, 235) - 199 red, 152 green, and 235 blue.

How to use #C798EB in CSS?

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

What colors go well with #C798EB?

#BCEB99 (complementary), #9E99EB (analogous), and #A459DE (lighter shade) work well with #C798EB.