#A257DB Color Information

Hex color code: #A257DB

#A257DB is a balanced purple color. In RGB it is (162, 87, 219), and in HSL it is (274°, 65%, 60%). It is frequently seen in web interfaces.

Try:
Color NameMedium Orchid
HEX
#A257DB
RGB
162, 87, 219
HSL
274°, 65%, 60%
CMYK
26%, 60%, 0%, 14%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A257DB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

162, 87, 219

Red: 162 / Green: 87 / Blue: 219

HSL

274°, 65%, 60%

Hue: 274° / Saturation: 65% / Lightness: 60%

CMYK

26%, 60%, 0%, 14%

Cyan: 26% / Magenta: 60% / Yellow: 0% / Key: 14%

What color is #A257DB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A257DB to RGB:

rgb(162, 87, 219)HEX to RGB Converter →

HEX to HSL

Convert #A257DB to HSL:

hsl(274, 65%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #A257DB to CMYK:

cmyk(26%, 60%, 0%, 14%)Color Converter →

Color Meaning and Usage

A understated purple tone, #A257DB has RGB (162, 87, 219) and HSL (274°, 65%, 60%). Known for evoking romance and playfulness, this magenta-red hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A257DB is #90DB57, creating high-contrast pairings. For softer combinations, try analogous colors like #6057DB.

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

Contrast with #A257DB

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

Contrast Ratio: 4.92:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A257DB?

#A257DB is a understated purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #A257DB?

#A257DB in RGB is (162, 87, 219) - 162 red, 87 green, and 219 blue.

How to use #A257DB in CSS?

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

What colors go well with #A257DB?

#90DB57 (complementary), #6057DB (analogous), and #7D28BD (lighter shade) work well with #A257DB.