#512FE9 Color Information

Hex color code: #512FE9

#512FE9 is a bold blue color. In RGB it is (81, 47, 233), and in HSL it is (251°, 81%, 55%). It is often used for branding and logos.

Try:
Color NameSlate Blue
HEX
#512FE9
RGB
81, 47, 233
HSL
251°, 81%, 55%
CMYK
65%, 80%, 0%, 9%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #512FE9; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #512FE9; 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 #512FE9; background-color: #512FE915; }

Alert / Toast

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

Link / Accent

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

a { color: #512FE9; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #512FE9 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 47, 233

Red: 81 / Green: 47 / Blue: 233

HSL

251°, 81%, 55%

Hue: 251° / Saturation: 81% / Lightness: 55%

CMYK

65%, 80%, 0%, 9%

Cyan: 65% / Magenta: 80% / Yellow: 0% / Key: 9%

What color is #512FE9?

#512FE9 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #512FE9 to RGB:

rgb(81, 47, 233)HEX to RGB Converter →

HEX to HSL

Convert #512FE9 to HSL:

hsl(251, 81%, 55%)RGB to HSL Converter →

HEX to CMYK

Convert #512FE9 to CMYK:

cmyk(65%, 80%, 0%, 9%)Color Converter →

Color Meaning and Usage

#512FE9 is a vivid blue color with RGB values of 81, 47, 233 and HSL of 251°, 81%, 55%. This highly saturated hue evokes energy and excitement, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #512FE9 is #C7E92F, creating high-contrast pairings. For softer combinations, try analogous colors like #2F6AE9.

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

Contrast with #512FE9

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #512FE9?

#512FE9 is a vivid blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #512FE9?

#512FE9 in RGB is (81, 47, 233) - 81 red, 47 green, and 233 blue.

How to use #512FE9 in CSS?

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

What colors go well with #512FE9?

#C7E92F (complementary), #2F6AE9 (analogous), and #3213B9 (lighter shade) work well with #512FE9.