#6942C2 Color Information

Hex color code: #6942C2

A serene purple shade, #6942C2 appears as (105, 66, 194) in RGB and (258°, 51%, 51%) in HSL. It is popular in mobile app design.

Try:
Color NameSlate Blue
HEX
#6942C2
RGB
105, 66, 194
HSL
258°, 51%, 51%
CMYK
46%, 66%, 0%, 24%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #6942C2; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #6942C2; 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 #6942C2; background-color: #6942C215; }

Alert / Toast

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

Link / Accent

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

a { color: #6942C2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #6942C2 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

105, 66, 194

Red: 105 / Green: 66 / Blue: 194

HSL

258°, 51%, 51%

Hue: 258° / Saturation: 51% / Lightness: 51%

CMYK

46%, 66%, 0%, 24%

Cyan: 46% / Magenta: 66% / Yellow: 0% / Key: 24%

What color is #6942C2?

#6942C2 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #6942C2 to RGB:

rgb(105, 66, 194)HEX to RGB Converter →

HEX to HSL

Convert #6942C2 to HSL:

hsl(258, 51%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #6942C2 to CMYK:

cmyk(46%, 66%, 0%, 24%)Color Converter →

Color Meaning and Usage

#6942C2 is a peaceful purple color with RGB values of 105, 66, 194 and HSL of 258°, 51%, 51%. This blue-purple hue evokes creativity and luxury, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #6942C2 is #9CC242, creating high-contrast pairings. For softer combinations, try analogous colors like #425CC2.

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

Contrast with #6942C2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #6942C2?

#6942C2 is a peaceful purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #6942C2?

#6942C2 in RGB is (105, 66, 194) - 105 red, 66 green, and 194 blue.

How to use #6942C2 in CSS?

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

What colors go well with #6942C2?

#9CC242 (complementary), #425CC2 (analogous), and #492D8B (lighter shade) work well with #6942C2.