#948AEF Color Information

Hex color code: #948AEF

The hex color #948AEF is a eye-catching blue with RGB values of (148, 138, 239) and HSL of (246°, 76%, 74%). It is popular in mobile app design.

Try:
Color NameMedium Purple
HEX
#948AEF
RGB
148, 138, 239
HSL
246°, 76%, 74%
CMYK
38%, 42%, 0%, 6%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #948AEF; 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 #948AEF; background-color: #948AEF15; }

Alert / Toast

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

Link / Accent

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

a { color: #948AEF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #948AEF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

148, 138, 239

Red: 148 / Green: 138 / Blue: 239

HSL

246°, 76%, 74%

Hue: 246° / Saturation: 76% / Lightness: 74%

CMYK

38%, 42%, 0%, 6%

Cyan: 38% / Magenta: 42% / Yellow: 0% / Key: 6%

What color is #948AEF?

#948AEF is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #948AEF to RGB:

rgb(148, 138, 239)HEX to RGB Converter →

HEX to HSL

Convert #948AEF to HSL:

hsl(246, 76%, 74%)RGB to HSL Converter →

HEX to CMYK

Convert #948AEF to CMYK:

cmyk(38%, 42%, 0%, 6%)Color Converter →

Color Meaning and Usage

#948AEF is a bold blue color with RGB values of 148, 138, 239 and HSL of 246°, 76%, 74%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #948AEF is #E5EF8A, creating high-contrast pairings. For softer combinations, try analogous colors like #8AB3EF.

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

Contrast with #948AEF

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

Contrast Ratio: 7.14:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #948AEF?

#948AEF is a bold blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #948AEF?

#948AEF in RGB is (148, 138, 239) - 148 red, 138 green, and 239 blue.

How to use #948AEF in CSS?

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

What colors go well with #948AEF?

#E5EF8A (complementary), #8AB3EF (analogous), and #5747E6 (lighter shade) work well with #948AEF.