#D271F6 Color Information

Hex color code: #D271F6

A bold purple shade, #D271F6 appears as (210, 113, 246) in RGB and (284°, 88%, 70%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameViolet
HEX
#D271F6
RGB
210, 113, 246
HSL
284°, 88%, 70%
CMYK
15%, 54%, 0%, 4%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #D271F6; 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 #D271F6; background-color: #D271F615; }

Alert / Toast

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

Link / Accent

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

a { color: #D271F6; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #D271F6 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 113, 246

Red: 210 / Green: 113 / Blue: 246

HSL

284°, 88%, 70%

Hue: 284° / Saturation: 88% / Lightness: 70%

CMYK

15%, 54%, 0%, 4%

Cyan: 15% / Magenta: 54% / Yellow: 0% / Key: 4%

What color is #D271F6?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D271F6 to RGB:

rgb(210, 113, 246)HEX to RGB Converter →

HEX to HSL

Convert #D271F6 to HSL:

hsl(284, 88%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #D271F6 to CMYK:

cmyk(15%, 54%, 0%, 4%)Color Converter →

Color Meaning and Usage

#D271F6 is a eye-catching purple color with RGB values of 210, 113, 246 and HSL of 284°, 88%, 70%. This highly saturated hue evokes energy and excitement, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D271F6 is #93F66F, creating high-contrast pairings. For softer combinations, try analogous colors like #8F6FF6.

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

Contrast with #D271F6

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D271F6?

#D271F6 is a eye-catching purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #D271F6?

#D271F6 in RGB is (210, 113, 246) - 210 red, 113 green, and 246 blue.

How to use #D271F6 in CSS?

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

What colors go well with #D271F6?

#93F66F (complementary), #8F6FF6 (analogous), and #BB27F1 (lighter shade) work well with #D271F6.