#C28AFF Color Information

Hex color code: #C28AFF

#C28AFF is a light purple color. In RGB it is (194, 138, 255), and in HSL it is (269°, 100%, 77%). It is commonly used in modern UI design.

Try:
Color NameViolet
HEX
#C28AFF
RGB
194, 138, 255
HSL
269°, 100%, 77%
CMYK
24%, 46%, 0%, 0%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C28AFF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

194, 138, 255

Red: 194 / Green: 138 / Blue: 255

HSL

269°, 100%, 77%

Hue: 269° / Saturation: 100% / Lightness: 77%

CMYK

24%, 46%, 0%, 0%

Cyan: 24% / Magenta: 46% / Yellow: 0% / Key: 0%

What color is #C28AFF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C28AFF to RGB:

rgb(194, 138, 255)HEX to RGB Converter →

HEX to HSL

Convert #C28AFF to HSL:

hsl(269, 100%, 77%)RGB to HSL Converter →

HEX to CMYK

Convert #C28AFF to CMYK:

cmyk(24%, 46%, 0%, 0%)Color Converter →

Color Meaning and Usage

A light purple tone, #C28AFF has RGB (194, 138, 255) and HSL (269°, 100%, 77%). Known for evoking energy and excitement, this highly saturated hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C28AFF is #C6FF8A, creating high-contrast pairings. For softer combinations, try analogous colors like #8A8CFF.

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

Contrast with #C28AFF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C28AFF?

#C28AFF is a light purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #C28AFF?

#C28AFF in RGB is (194, 138, 255) - 194 red, 138 green, and 255 blue.

How to use #C28AFF in CSS?

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

What colors go well with #C28AFF?

#C6FF8A (complementary), #8A8CFF (analogous), and #9B3DFF (lighter shade) work well with #C28AFF.