What is hex #D271FF color?

 
The hex code #D271FF is closest to the named color Violet (#EE82EE).
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.

From a technical standpoint, this color is composed of 82% red, 44% green and 100% blue, resulting in rgb(210, 113, 255) and hsl(281, 100%, 72%).
For print media and manufacturing layout, the CMYK equivalent is (18%, 56%, 0%, 0%).
In the HSV/HSB scale, #D271FF features a hue of 281°, 56% saturation, and 100% brightness.

Hex #D271FF Color Codes & Conversions

Closest Named Color
Violet (#EE82EE)
Hex Code #D271FF
Hex8 (RGBA Hex) #D271FFFF
RGB (CSS) rgb(210, 113, 255)
RGBA (CSS) rgba(210, 113, 255, 1)
HSL (CSS) hsl(281, 100%, 72%)
HSLA (CSS) hsla(281, 100%, 72%, 1)
HSV / HSB (281°, 56%, 100%)
CMYK Values (18%, 56%, 0%, 0%)
OKLCH (Modern CSS) oklch(71.5% 0.215 313.8)
CIE-LAB (D65) 63.94, 60.46, -55.43
CIE XYZ 50.53, 32.73, 98.24
Decimal / Binary 13791743
11010010 01110001 11111111

Closest Standards & Equivalents

Closest Web Safe
#CC66FF
Inverse Color
#2D8E00
Complementary Color
#9EFF71
Closest Pantone®
Pantone 245 C
Closest RAL
RAL 3015 [Light pink]

#D271FF Grayscale Equivalents

Average
#C1C1C1
Lightness (Desaturation)
#B8B8B8
Weighted (BT601)
#9E9E9E
Luma (BT709)
#909090

WCAG 2.1 Color Contrast & Accessibility

Check how #D271FF complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #D271FF

Sample preview of readable typography on top of #D271FF.

Contrast Ratio: 2.78:1
AA Fail AAA Fail

Black Text on #D271FF

Sample preview of readable typography on top of #D271FF.

Contrast Ratio: 7.55:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #D271FF

Preview #D271FF in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #D271FF;
Typography Color Preview
color: #D271FF;
Border & Shadow Preview
border: 2px solid #D271FF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #D271FF;
  --color-primary-rgb: 210, 113, 255;
  --color-complementary: #9EFF71;
}
.btn-accent {
  background-color: #D271FF;
  color: #000000;
}

Hex #D271FF Color Palettes

Complementary Palette

The complementary color of #D271FF is #9EFF71. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #D271FF pairs with #8B71FF and #FF71E5, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #D271FF pairs with #71FF8B and #E5FF71, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #D271FF uses #71FFD2 and #FFD271, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #D271FF combines #FFD271, #9EFF71 and #719EFF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #D271FF pairs with #FF8B71, #9EFF71 and #71E5FF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #D271FF

Tints

Tints are created by mixing #D271FF with white, producing lighter variations.

Tones

Tones are created by mixing #D271FF with gray, softening saturation.

Shades

Shades result from mixing #D271FF with black, creating deeper variations.

Hex #D271FF in Programming & CSS Frameworks

Copy the exact syntax for #D271FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #D271FF
Tailwind CSS bg-[#D271FF] text-[#D271FF]
Java (AWT) new Color(210,113,255);
Python Color("#D271FF")
.NET (C#) Color.FromArgb(255, 210,113,255);
Swift / iOS UIColor(red: 0.82, green: 0.44, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(210, 113, 255)