#C68AFF Color Information

Hex color code: #C68AFF

The hex color #C68AFF is a soft purple with RGB values of (198, 138, 255) and HSL of (271°, 100%, 77%). It is frequently seen in web interfaces.

Try:
Color NameViolet
HEX
#C68AFF
RGB
198, 138, 255
HSL
271°, 100%, 77%
CMYK
22%, 46%, 0%, 0%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #C68AFF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

198, 138, 255

Red: 198 / Green: 138 / Blue: 255

HSL

271°, 100%, 77%

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

CMYK

22%, 46%, 0%, 0%

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

What color is #C68AFF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #C68AFF to RGB:

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

HEX to HSL

Convert #C68AFF to HSL:

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

HEX to CMYK

Convert #C68AFF to CMYK:

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

Color Meaning and Usage

#C68AFF is a soft purple color with RGB values of 198, 138, 255 and HSL of 271°, 100%, 77%. This highly saturated hue evokes energy and excitement, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #C68AFF is #C2FF8A, creating high-contrast pairings. For softer combinations, try analogous colors like #8C8AFF.

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

Contrast with #C68AFF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #C68AFF?

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

What is the RGB value of #C68AFF?

#C68AFF in RGB is (198, 138, 255) - 198 red, 138 green, and 255 blue.

How to use #C68AFF in CSS?

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

What colors go well with #C68AFF?

#C2FF8A (complementary), #8C8AFF (analogous), and #A13DFF (lighter shade) work well with #C68AFF.