#7852D1 Color Information

Hex color code: #7852D1

A cool purple shade, #7852D1 appears as (120, 82, 209) in RGB and (258°, 58%, 57%) in HSL. It is commonly used in modern UI design.

Try:
Color NameSlate Blue
HEX
#7852D1
RGB
120, 82, 209
HSL
258°, 58%, 57%
CMYK
43%, 61%, 0%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #7852D1; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #7852D1; color: #FFFFFF; }

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 #7852D1; background-color: #7852D115; }

Alert / Toast

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

Link / Accent

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

a { color: #7852D1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7852D1 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

120, 82, 209

Red: 120 / Green: 82 / Blue: 209

HSL

258°, 58%, 57%

Hue: 258° / Saturation: 58% / Lightness: 57%

CMYK

43%, 61%, 0%, 18%

Cyan: 43% / Magenta: 61% / Yellow: 0% / Key: 18%

What color is #7852D1?

#7852D1 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7852D1 to RGB:

rgb(120, 82, 209)HEX to RGB Converter →

HEX to HSL

Convert #7852D1 to HSL:

hsl(258, 58%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #7852D1 to CMYK:

cmyk(43%, 61%, 0%, 18%)Color Converter →

Color Meaning and Usage

A calming purple tone, #7852D1 has RGB (120, 82, 209) and HSL (258°, 58%, 57%). Known for evoking creativity and luxury, this blue-purple hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7852D1 is #ABD152, creating high-contrast pairings. For softer combinations, try analogous colors like #526BD1.

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

Contrast with #7852D1

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

Contrast Ratio: 3.93:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7852D1?

#7852D1 is a calming purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #7852D1?

#7852D1 in RGB is (120, 82, 209) - 120 red, 82 green, and 209 blue.

How to use #7852D1 in CSS?

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

What colors go well with #7852D1?

#ABD152 (complementary), #526BD1 (analogous), and #522DA9 (lighter shade) work well with #7852D1.