#CB98DB Color Information

Hex color code: #CB98DB

The hex color #CB98DB is a soft magenta with RGB values of (203, 152, 219) and HSL of (286°, 48%, 73%). It is typically applied in digital products.

Try:
Color NamePlum
HEX
#CB98DB
RGB
203, 152, 219
HSL
286°, 48%, 73%
CMYK
7%, 31%, 0%, 14%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CB98DB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

203, 152, 219

Red: 203 / Green: 152 / Blue: 219

HSL

286°, 48%, 73%

Hue: 286° / Saturation: 48% / Lightness: 73%

CMYK

7%, 31%, 0%, 14%

Cyan: 7% / Magenta: 31% / Yellow: 0% / Key: 14%

What color is #CB98DB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CB98DB to RGB:

rgb(203, 152, 219)HEX to RGB Converter →

HEX to HSL

Convert #CB98DB to HSL:

hsl(286, 48%, 73%)RGB to HSL Converter →

HEX to CMYK

Convert #CB98DB to CMYK:

cmyk(7%, 31%, 0%, 14%)Color Converter →

Color Meaning and Usage

#CB98DB is a subtle magenta color with RGB values of 203, 152, 219 and HSL of 286°, 48%, 73%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CB98DB is #A9DB99, creating high-contrast pairings. For softer combinations, try analogous colors like #AB99DB.

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

Contrast with #CB98DB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CB98DB?

#CB98DB is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #CB98DB?

#CB98DB in RGB is (203, 152, 219) - 203 red, 152 green, and 219 blue.

How to use #CB98DB in CSS?

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

What colors go well with #CB98DB?

#A9DB99 (complementary), #AB99DB (analogous), and #AF60C7 (lighter shade) work well with #CB98DB.