#9D2AEF Color Information

Hex color code: #9D2AEF

The hex color #9D2AEF is a vivid purple with RGB values of (157, 42, 239) and HSL of (275°, 86%, 55%). It is commonly used in modern UI design.

Try:
Color NameBlue Violet
HEX
#9D2AEF
RGB
157, 42, 239
HSL
275°, 86%, 55%
CMYK
34%, 82%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #9D2AEF; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #9D2AEF; 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 #9D2AEF; background-color: #9D2AEF15; }

Alert / Toast

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

Link / Accent

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

a { color: #9D2AEF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9D2AEF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

157, 42, 239

Red: 157 / Green: 42 / Blue: 239

HSL

275°, 86%, 55%

Hue: 275° / Saturation: 86% / Lightness: 55%

CMYK

34%, 82%, 0%, 6%

Cyan: 34% / Magenta: 82% / Yellow: 0% / Key: 6%

What color is #9D2AEF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9D2AEF to RGB:

rgb(157, 42, 239)HEX to RGB Converter →

HEX to HSL

Convert #9D2AEF to HSL:

hsl(275, 86%, 55%)RGB to HSL Converter →

HEX to CMYK

Convert #9D2AEF to CMYK:

cmyk(34%, 82%, 0%, 6%)Color Converter →

Color Meaning and Usage

A dynamic purple tone, #9D2AEF has RGB (157, 42, 239) and HSL (275°, 86%, 55%). Known for evoking energy and excitement, this highly saturated hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9D2AEF is #7CEF2A, creating high-contrast pairings. For softer combinations, try analogous colors like #3A2AEF.

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

Contrast with #9D2AEF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9D2AEF?

#9D2AEF is a dynamic purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #9D2AEF?

#9D2AEF in RGB is (157, 42, 239) - 157 red, 42 green, and 239 blue.

How to use #9D2AEF in CSS?

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

What colors go well with #9D2AEF?

#7CEF2A (complementary), #3A2AEF (analogous), and #750EBE (lighter shade) work well with #9D2AEF.