What is hex #D342FF color?

 
The hex code #D342FF is closest to the named color Medium Orchid (#BA55D3).
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.

From a technical standpoint, this color is composed of 83% red, 26% green and 100% blue, resulting in rgb(211, 66, 255) and hsl(286, 100%, 63%).
For print media and manufacturing layout, the CMYK equivalent is (17%, 74%, 0%, 0%).
In the HSV/HSB scale, #D342FF features a hue of 286°, 74% saturation, and 100% brightness.

Hex #D342FF Color Codes & Conversions

Closest Named Color
Medium Orchid (#BA55D3)
Hex Code #D342FF
Hex8 (RGBA Hex) #D342FFFF
RGB (CSS) rgb(211, 66, 255)
RGBA (CSS) rgba(211, 66, 255, 1)
HSL (CSS) hsl(286, 100%, 63%)
HSLA (CSS) hsla(286, 100%, 63%, 1)
HSV / HSB (286°, 74%, 100%)
CMYK Values (17%, 74%, 0%, 0%)
OKLCH (Modern CSS) oklch(66.5% 0.274 316.9)
CIE-LAB (D65) 57.04, 80.15, -66.46
CIE XYZ 46.86, 24.97, 96.94
Decimal / Binary 13845247
11010011 01000010 11111111

Closest Standards & Equivalents

Closest Web Safe
#CC33FF
Inverse Color
#2CBD00
Complementary Color
#6EFF42
Closest Pantone®
Pantone 2385 C
Closest RAL
RAL 4003 [Heather violet]

#D342FF Grayscale Equivalents

Average
#B1B1B1
Lightness (Desaturation)
#A1A1A1
Weighted (BT601)
#838383
Luma (BT709)
#6E6E6E

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #D342FF.

Contrast Ratio: 3.5:1
AA Fail AAA Fail

Black Text on #D342FF

Sample preview of readable typography on top of #D342FF.

Contrast Ratio: 5.99:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #D342FF

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

Background Preview
background-color: #D342FF;
Typography Color Preview
color: #D342FF;
Border & Shadow Preview
border: 2px solid #D342FF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #D342FF;
  --color-primary-rgb: 211, 66, 255;
  --color-complementary: #6EFF42;
}
.btn-accent {
  background-color: #D342FF;
  color: #000000;
}

Hex #D342FF Color Palettes

Complementary Palette

The complementary color of #D342FF is #6EFF42. 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 #D342FF pairs with #7442FF and #FF42CC, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #D342FF pairs with #42FF74 and #CCFF42, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #D342FF uses #42FFD3 and #FFD342, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #D342FF combines #FFD342, #6EFF42 and #426EFF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #D342FF pairs with #FF7442, #6EFF42 and #42CCFF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #D342FF

Tints

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

Tones

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

Shades

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

Hex #D342FF in Programming & CSS Frameworks

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

HTML / CSS #D342FF
Tailwind CSS bg-[#D342FF] text-[#D342FF]
Java (AWT) new Color(211,66,255);
Python Color("#D342FF")
.NET (C#) Color.FromArgb(255, 211,66,255);
Swift / iOS UIColor(red: 0.83, green: 0.26, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(211, 66, 255)