#6242AE Color Information

Hex color code: #6242AE

A soft purple shade, #6242AE appears as (98, 66, 174) in RGB and (258°, 45%, 47%) in HSL. It is typically applied in digital products.

Try:
Color NameRebecca Purple
HEX
#6242AE
RGB
98, 66, 174
HSL
258°, 45%, 47%
CMYK
44%, 62%, 0%, 32%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #6242AE; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #6242AE; 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 #6242AE; background-color: #6242AE15; }

Alert / Toast

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

Link / Accent

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

a { color: #6242AE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #6242AE in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

98, 66, 174

Red: 98 / Green: 66 / Blue: 174

HSL

258°, 45%, 47%

Hue: 258° / Saturation: 45% / Lightness: 47%

CMYK

44%, 62%, 0%, 32%

Cyan: 44% / Magenta: 62% / Yellow: 0% / Key: 32%

What color is #6242AE?

#6242AE is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #6242AE to RGB:

rgb(98, 66, 174)HEX to RGB Converter →

HEX to HSL

Convert #6242AE to HSL:

hsl(258, 45%, 47%)RGB to HSL Converter →

HEX to CMYK

Convert #6242AE to CMYK:

cmyk(44%, 62%, 0%, 32%)Color Converter →

Color Meaning and Usage

A gentle purple tone, #6242AE has RGB (98, 66, 174) and HSL (258°, 45%, 47%). Known for evoking creativity and luxury, this blue-purple hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #6242AE is #8DAE42, creating high-contrast pairings. For softer combinations, try analogous colors like #4257AE.

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

Contrast with #6242AE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #6242AE?

#6242AE is a gentle purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #6242AE?

#6242AE in RGB is (98, 66, 174) - 98 red, 66 green, and 174 blue.

How to use #6242AE in CSS?

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

What colors go well with #6242AE?

#8DAE42 (complementary), #4257AE (analogous), and #432D76 (lighter shade) work well with #6242AE.