#6845BA Color Information

Hex color code: #6845BA

#6845BA is a delicate purple color. In RGB it is (104, 69, 186), and in HSL it is (258°, 46%, 50%). It is widely used in graphic design.

Try:
Color NameSlate Blue
HEX
#6845BA
RGB
104, 69, 186
HSL
258°, 46%, 50%
CMYK
44%, 63%, 0%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #6845BA; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #6845BA; 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 #6845BA; background-color: #6845BA15; }

Alert / Toast

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

Link / Accent

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

a { color: #6845BA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #6845BA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

104, 69, 186

Red: 104 / Green: 69 / Blue: 186

HSL

258°, 46%, 50%

Hue: 258° / Saturation: 46% / Lightness: 50%

CMYK

44%, 63%, 0%, 27%

Cyan: 44% / Magenta: 63% / Yellow: 0% / Key: 27%

What color is #6845BA?

#6845BA is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #6845BA to RGB:

rgb(104, 69, 186)HEX to RGB Converter →

HEX to HSL

Convert #6845BA to HSL:

hsl(258, 46%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #6845BA to CMYK:

cmyk(44%, 63%, 0%, 27%)Color Converter →

Color Meaning and Usage

A gentle purple tone, #6845BA has RGB (104, 69, 186) and HSL (258°, 46%, 50%). Known for evoking creativity and luxury, this blue-purple hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #6845BA is #97BA45, creating high-contrast pairings. For softer combinations, try analogous colors like #455CBA.

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

Contrast with #6845BA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #6845BA?

#6845BA is a gentle purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #6845BA?

#6845BA in RGB is (104, 69, 186) - 104 red, 69 green, and 186 blue.

How to use #6845BA in CSS?

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

What colors go well with #6845BA?

#97BA45 (complementary), #455CBA (analogous), and #493082 (lighter shade) work well with #6845BA.