#d174eb Color Information

#d174eb Color Information
Details | Shades, Tints, and Tones | Variations | Color Coordinates | Color Schemes | HTML+CSS Examples | Coding & Programming | Color Blindness | Accessibility | Related Colors

The hexadecimal value (hex value) of this color is #d174eb. In RGB, it consists of 82.0% Red, 45.5% Green, and 92.2% Blue. Likewise, in the CMYK color space, it consists of 11.1% Cyan, 50.6% Magenta, 0% Yellow, and 7.8% Black. On the color wheel, its Hue is found at 286.9°, with saturation of 74.8% and lightness of 68.8%. The decimal value for #d174eb is 13726955, and its nearest "web safe" color is #cc66ff. In the RGB color space, the strongest component for #d174eb is blue. In the CMYK color space, its strongest component is magenta. And in the RYB color space, its strongest component is blue.
  • HexHex code for this color#d174eb Copy
  • NameThe common name of this color(Unnamed) Copy
  • RGBRed, Green, Blue composition for this color209, 116, 235 Copy
  • RGB PercentPercent Red, Green, Blue composition for this color82.0%, 45.5%, 92.2% Copy
  • CMYCyan, Magenta, Yellow composition for this color0.180, 0.545, 0.078 Copy
  • CMYKCyan, Magenta, Yellow, Black composition for this color0.111, 0.506, 0, 0.078 Copy
  • HSLHue, Saturation, Lightness combination for this color286.9°, 74.8%, 68.8% Copy
  • HSV (or HSB)Hue, Saturation, Brightness combination for this color286.9°, 50.6%, 92.2% Copy
  • XYZCIE 1931 color space XYZ coordinates for this color47.535, 32.044, 82.277 Copy
  • RYBRed, Yellow, Blue composition for this color209, 116, 235 Copy
  • DecimalDecimal representation of this color's hex code13726955 Copy
  • CIE-LABCIELAB color space coordinates for this color63.379, 54.730, -45.306 Copy
  • CIE-LCHCIE-LCH color space coordinates for this color (chroma, hue, etc.)63.379, 71.049, 320.382 Copy
  • CIE-LUVCIE-LUV color space coordinates for this color63.379, 39.132, -79.282 Copy
  • Hunter LabHunter-Lab color space coordinates for this color56.608, 50.829, -46.550 Copy
  • xyYCIE xyY color space coordinates for this color0.294, 0.198, 32.044 Copy
  • AndroidValue of this color in Android development4291917035 / 0xffd174eb Copy
  • Web SafeHex code of the nearest "web safe" version of this color#cc66ff Copy
Last Updated: May 23, 2025

Shades of #d174eb

Shades are created by adding black to or removing lightness from a particular color. For #d174eb, its pure hue is 286.9° on the color wheel and its saturation is 74.8%, and its lightness is 68.8%. As the amount of black is added to this hue and we reduce its lightness, the result is increasingly darker shades tints. The palette given below provides 9 different shades of #d174eb, which — excluding black and our original color — range from #1a0f1d to #b766ce.

Tints of #d174eb

Tints are created by adding white or lightness to a particular color. For #d174eb, its pure hue is 286.9° on the color wheel and its saturation is 74.8%, and its lightness is 68.8%. As the amount of white (lightness) is added to this hue, the result is increasingly lighter tints. The following palette gives 9 different tints of #d174eb, which — excluding white and our original color — range from #d785ee to #f9eefd.

Tones of #d174eb

Tones are the result of adding gray to a pure hue. In the case of #d174eb, its pure hue is 286.9° on the color wheel and its saturation is 74.8%, so we increase this saturation to create more colorful tones, and decrease the saturation to create grayer tones. The palette shown below gives 9 different tones of #d174eb, which range from #b0b0b0 (the grayest / 0% saturation) to #dc60ff (the most colorful / 100% saturation).

Variations of #d174eb

There are several ways to create color variations and premutations of #d174eb! For #d174eb, there are 6 variations of the color that can be created by swapping its Red, Green, and Blue color positions, of which 5 are different from our original color. Among these six variations, there are 6 unique colors including our original color, #d174eb. Click on these colors to learn more about them, too!

Color Coordinates of #d174eb

This color, #d174eb, consists of 82.0% Red, 45.5% Green, and 92.2% Blue, resulting in color coordinates Red = 209, Green = 116, Blue = 235. Likewise, the CMYK color space composition for #d174eb is 11.1% Cyan, 50.6% Magenta, 0% Yellow, and 7.8% Black. These values are shown in the following charts and tables.

R82.0%
C11.1%
G45.5%
M50.6%
B92.2%
Y0.0%
K7.8%
Color Base R (Red) G (Green) B (Blue)
Decimal 209 116 235
Octal 321 164 353
Hexa #d1 #74 #eb
Binary 11010001 01110100 11101011
Color Base C (Cyan) M (Magenta) Y (Yellow) Y (Black)
Decimal 11 50 0 7
Octal 13 62 0 7
Hexa #0b #32 #00 #07
Binary 00001011 00110010 00000000 00000111

Analogous Colors of #d174eb

Analogous colors are located 30 degrees away from a color's hue on the color wheel. For #d174eb — which has hue 286.9° — its analogous colors are located at 256.9° and 316.9° on the color wheel, with the same saturation and lightness as #d174eb.

Triadic Colors of #d174eb

Triadic colors are located 120 degrees away from a color's hue on the color wheel, which means the original color and its triadic colors are equidistant from one another on the color wheel and form a triangle. For #d174eb — which has hue 286.9° — its triadic colors are located at 46.9° and 286.9° on the color wheel, with the same saturation and lightness as #d174eb.

Complementary Color of #d174eb

A complementary color is located opposite a color on the color wheel (180 degrees away). For #d174eb — which has hue 286.9° — its complementary color is located at 106.9° on the color wheel, with the same saturation and lightness as #d174eb.

Split Complementary Colors of #d174eb

Split complementary colors are the analogs of a color's complement, which places them 210 degrees away on the color wheel from an original color. For #d174eb — which has hue 286.9° — its split complementary colors its split complementary colors are located at 76.9° and 286.9° on the color wheel, with the same saturation and lightness as #d174eb.

Tetradic Colors of #d174eb

Tetradic colors are two sets of complementary colors on either side of a color wheel from each other, forming a rectangle on the color wheel. For #d174eb — which has hue 286.9° — its tetradic colors are located at 196.9°, 286.9°, 16.9°, and 106.9° on the color wheel, with the same saturation and lightness as #d174eb.

Monochromatic Colors of #d174eb

Monochromatic colors are colors that share a common hue but that have different saturations and lightness. For #d174eb, we show 9 different monochromatic colors of it, ranging from #b23ed2 — (which has very low saturation and very low lightness) — to #ebb5fa (which has a very high saturation and very high lightness).

HTML+CSS Examples & Previews of #d174eb

We want to make getting started with #d174eb on your website fast and easy! Below are 8 examples of how to integrate #d174eb into a website using HTML+CSS. These examples include showing how #d174eb can be used to color text, backgrounds, shadows, and borders, as well as how it can be used as a solid fill or gradient fill for rectangles. These examples principally make use of <span> and <div> tags, although the CSS shown in particular can be repurposed to make use of #d174eb with other HTML elements.

#d174eb Foreground / Text Color

The color of this text is #d174eb.
<span style="color: #d174eb;">The color of this text is #d174eb.</span>

#d174eb Background Color

The background color for this text is #d174eb.
<div style="background-color: #d174eb; width:100%; height:100%; display: flex; justify-content: center; align-items: center;">The background color for this text is #d174eb.</div>

#d174eb Text Shadow Color

This color for the shadow of this text is #d174eb.
<span style="text-shadow: 3px 3px 3px #d174eb;">This color for the shadow of this text is #d174eb.</span>

#d174eb Border Color

This is a div with border color #d174eb.
<div style="border: #d174eb 4px solid;width:100%; height:100%; display: flex; justify-content: center; align-items: center;">This is a div with border color #d174eb.</div>

#d174eb Color Rectangle on a White Background

This is a rectangle of color #d174eb on a white background.
<div style="background-color: #ffffff; padding: 60px; width:100%; height: 100%;"><div style="background-color: #d174eb; width:100%; height:100%; padding: 10px; display: flex; justify-content: center; align-items: center;">This is a rectangle of color #d174eb on a white background.</div></div>

#d174eb Color Rectangle on a Black Background

This is a rectangle of color #d174eb on a black background.
<div style="background-color: #000000; padding: 60px; width:100%; height: 100%;"><div style="background-color: #d174eb; width:100%; height:100%; padding: 10px; display: flex; justify-content: center; align-items: center;">This is a rectangle of color #d174eb on a black background.</div></div>

Gradient from #d174eb to White

This is a gradient from #d174eb to white.
<div style="background: -webkit-linear-gradient(left,#d174eb,white); /* Firefox */ background: linear-gradient(to right,#d174eb,white); /* Safari */ background: -o-linear-gradient(left,#d174eb,white); /* Opera */ background: -moz-linear-gradient(left,#d174eb,white); width:100%; height:100%; display: flex; justify-content: center; align-items: center;">This is a gradient from #d174eb to white.</div>

Gradient from #d174eb to Black

This is a gradient from #d174eb to black.
<div style="background: -webkit-linear-gradient(left,#d174eb,black); /* Firefox */ background: linear-gradient(to right,#d174eb,black); /* Safari */ background: -o-linear-gradient(left,#d174eb,black); /* Opera */ background: -moz-linear-gradient(left,#d174eb,black); color: #ffffff; width:100%; height:100%; display: flex; justify-content: center; align-items: center;">This is a gradient from #d174eb to black.</div>

Coding & Programming with #d174eb

In addition to using #d174eb on the web, we know you might want to use it in your mobile and desktop apps, too. Whatever your needs, the table below shows how to access #d174eb in the language and environment of your choice. These code snippets are principally the hexadecimal representation of #d174eb, or the RGB color coordinates for the same (Red = 209, Green = 116, Blue = 235). If you need details about the color coordinates of #d174eb in other color spaces, refer to these details as provided toward the top of this page.

Language Environment Code Snippet
HTML + CSS (Hex Code) Web #d174eb
HTML + CSS (RGB Code) Web rgb(209, 116, 235)
CSS Background Color Web .myclass { background-color: #d174eb; }
CSS Foreground + Text Color Web .myclass { color: #d174eb; }
CSS Border Color Web .myclass { border: 2px solid #d174eb; }
Java (Multi-platform) new Color(209, 116, 235);
Python (Multi-platform) Color("#d174eb")
Swift iOS UIColor(red:209, green:116, blue:235, alpha:1.0000)
Objective-C (iOS) iOS [UIColor colorWithRed:209 green:116 blue:235 alpha:1.0000];
OpenGL (Graphics) glColor3f(209f, 116f, 235f);
C# / .NET Windows Color.FromArgb(209, 116, 235);
 

#d174eb Color Blindness

Not everyone can see #d174eb the same way. For those with color blindness, #d174eb might look very, very different. Here, we simulate eight examples of color blindness, and how #d174eb looks next to each one of them. In all cases, #d174eb is placed in a circle in the upper-left corner of each of the below boxes, with the color in the rest of those boxes signifying how #d174eb looks for someone with that type of color blindness. Many people will perceive close similarities between the colors in these boxes and the colors in the circles — with some noticing particular similarities. We offer this insight so that as you make choices about colors to use for your purposes, you can make an informed decision about whether #d174eb will be a good fit for everyone in your audience!

Trichromacy

Protanomaly
Affects 1 in 100 Men & 1 in 10,000 Women

Deuteranomaly
Affects 1 in 17 Men & 1 in 250 Women

Tritanomaly
Affects 1 in 10,000

Dichromacy

Protanopia
Affects 1 in 100, Mostly Men

Deuteranopia
Affects 1 in 100, Mostly Men

Tritanopia
Affects 1 in 100,000

Monochromacy

Achromatopsia
Affects 1 in 20,000

Achromatopsia
Affects 1 in 100,000

Accessibility

Not Accessibility Recommended

We analyzed whether #d174eb is an accessible color when used as a text / foreground color against a white background. This analysis is based on the Web Content Accessibility Guidelines (WCAG) 2 Level issued by W3C. Based on this analysis, we calculate a contrast ratio against white of approximately 2.8:1 against white. Under both the AA and AAA level standards, this is not a high enough ratio to be considered accessible for either normal size or large text.

WCAG AA
Normal Size Text

WCAG AA
Large Size Text

WCAG AAA
Normal Size Text

WCAG AAA
Large Size Text