#C98FFF Color Information

Hex color code: #C98FFF

#C98FFF is a soft purple color. In RGB it is (201, 143, 255), and in HSL it is (271°, 100%, 78%). It is frequently seen in web interfaces.

Try:
Color NameViolet
HEX
#C98FFF
RGB
201, 143, 255
HSL
271°, 100%, 78%
CMYK
21%, 44%, 0%, 0%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C98FFF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

201, 143, 255

Red: 201 / Green: 143 / Blue: 255

HSL

271°, 100%, 78%

Hue: 271° / Saturation: 100% / Lightness: 78%

CMYK

21%, 44%, 0%, 0%

Cyan: 21% / Magenta: 44% / Yellow: 0% / Key: 0%

What color is #C98FFF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C98FFF to RGB:

rgb(201, 143, 255)HEX to RGB Converter →

HEX to HSL

Convert #C98FFF to HSL:

hsl(271, 100%, 78%)RGB to HSL Converter →

HEX to CMYK

Convert #C98FFF to CMYK:

cmyk(21%, 44%, 0%, 0%)Color Converter →

Color Meaning and Usage

#C98FFF is a soft purple color with RGB values of 201, 143, 255 and HSL of 271°, 100%, 78%. This highly saturated hue evokes energy and excitement, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C98FFF is #C5FF8F, creating high-contrast pairings. For softer combinations, try analogous colors like #918FFF.

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

Contrast with #C98FFF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C98FFF?

#C98FFF is a soft purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #C98FFF?

#C98FFF in RGB is (201, 143, 255) - 201 red, 143 green, and 255 blue.

How to use #C98FFF in CSS?

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

What colors go well with #C98FFF?

#C5FF8F (complementary), #918FFF (analogous), and #A442FF (lighter shade) work well with #C98FFF.