#7938DC Color Information

Hex color code: #7938DC

The hex color #7938DC is a cool purple with RGB values of (121, 56, 220) and HSL of (264°, 70%, 54%). It is commonly used in modern UI design.

Try:
Color NameBlue Violet
HEX
#7938DC
RGB
121, 56, 220
HSL
264°, 70%, 54%
CMYK
45%, 75%, 0%, 14%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #7938DC; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #7938DC; 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 #7938DC; background-color: #7938DC15; }

Alert / Toast

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

Link / Accent

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

a { color: #7938DC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7938DC in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 56, 220

Red: 121 / Green: 56 / Blue: 220

HSL

264°, 70%, 54%

Hue: 264° / Saturation: 70% / Lightness: 54%

CMYK

45%, 75%, 0%, 14%

Cyan: 45% / Magenta: 75% / Yellow: 0% / Key: 14%

What color is #7938DC?

#7938DC is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7938DC to RGB:

rgb(121, 56, 220)HEX to RGB Converter →

HEX to HSL

Convert #7938DC to HSL:

hsl(264, 70%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #7938DC to CMYK:

cmyk(45%, 75%, 0%, 14%)Color Converter →

Color Meaning and Usage

A tranquil purple tone, #7938DC has RGB (121, 56, 220) and HSL (264°, 70%, 54%). Known for evoking creativity and luxury, this blue-purple hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7938DC is #9ADC38, creating high-contrast pairings. For softer combinations, try analogous colors like #3848DC.

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

Contrast with #7938DC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7938DC?

#7938DC is a tranquil purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #7938DC?

#7938DC in RGB is (121, 56, 220) - 121 red, 56 green, and 220 blue.

How to use #7938DC in CSS?

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

What colors go well with #7938DC?

#9ADC38 (complementary), #3848DC (analogous), and #561EA9 (lighter shade) work well with #7938DC.