What is hex #DB7FE2 color?

 
The hex code #DB7FE2 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 86% red, 50% green and 89% blue, resulting in rgb(219, 127, 226) and hsl(296, 63%, 69%).
For print media and manufacturing layout, the CMYK equivalent is (3%, 44%, 0%, 11%).
In the HSV/HSB scale, #DB7FE2 features a hue of 296°, 44% saturation, and 89% brightness.

Hex #DB7FE2 Color Codes & Conversions

Closest Named Color
Violet (#EE82EE)
Hex Code #DB7FE2
Hex8 (RGBA Hex) #DB7FE2FF
RGB (CSS) rgb(219, 127, 226)
RGBA (CSS) rgba(219, 127, 226, 1)
HSL (CSS) hsl(296, 63%, 69%)
HSLA (CSS) hsla(296, 63%, 69%, 1)
HSV / HSB (296°, 44%, 89%)
CMYK Values (3%, 44%, 0%, 11%)
OKLCH (Modern CSS) oklch(73.0% 0.168 324.5)
CIE-LAB (D65) 66.31, 50.24, -35.62
CIE XYZ 50.53, 35.73, 76.17
Decimal / Binary 14385122
11011011 01111111 11100010

Closest Standards & Equivalents

Closest Web Safe
#CC66CC
Inverse Color
#24801D
Complementary Color
#86E27F
Closest Pantone®
Pantone 245 C
Closest RAL
RAL 3015 [Light pink]

#DB7FE2 Grayscale Equivalents

Average
#BFBFBF
Lightness (Desaturation)
#B1B1B1
Weighted (BT601)
#A6A6A6
Luma (BT709)
#9A9A9A

WCAG 2.1 Color Contrast & Accessibility

Check how #DB7FE2 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 #DB7FE2

Sample preview of readable typography on top of #DB7FE2.

Contrast Ratio: 2.58:1
AA Fail AAA Fail

Black Text on #DB7FE2

Sample preview of readable typography on top of #DB7FE2.

Contrast Ratio: 8.15:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #DB7FE2

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

Background Preview
background-color: #DB7FE2;
Typography Color Preview
color: #DB7FE2;
Border & Shadow Preview
border: 2px solid #DB7FE2;
CSS Custom Properties & Gradient
:root {
  --color-primary: #DB7FE2;
  --color-primary-rgb: 219, 127, 226;
  --color-complementary: #86E27F;
}
.btn-accent {
  background-color: #DB7FE2;
  color: #000000;
}

Hex #DB7FE2 Color Palettes

Complementary Palette

The complementary color of #DB7FE2 is #86E27F. 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 #DB7FE2 pairs with #A97FE2 and #E27FB7, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #DB7FE2 pairs with #7FE2A9 and #B7E27F, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #DB7FE2 uses #7FE2DB and #E2DB7F, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #DB7FE2 combines #E2DB7F, #86E27F and #7F86E2 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #DB7FE2 pairs with #E2A97F, #86E27F and #7FB7E2 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #DB7FE2

Tints

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

Tones

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

Shades

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

Hex #DB7FE2 in Programming & CSS Frameworks

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

HTML / CSS #DB7FE2
Tailwind CSS bg-[#DB7FE2] text-[#DB7FE2]
Java (AWT) new Color(219,127,226);
Python Color("#DB7FE2")
.NET (C#) Color.FromArgb(255, 219,127,226);
Swift / iOS UIColor(red: 0.86, green: 0.5, blue: 0.89, alpha: 1)
Kotlin / Android Color.rgb(219, 127, 226)