Color: #D98FDC

#D98FDC Color Information

#D98FDC is a light color. The closest websafe version is #D98FDC. A complement of this color would be #91DC8F, perceived brightness is 0.68, and the grayscale version is #B6B6B6.

In the HSL color space, this color has a hue angle of 298°,a saturation of 52%, and a lightness of 71%.The HSV representation shows a hue of 298°, a saturation of 35%, and a value of 86%.

In a RGB color space, #D98FDC is composed of 85% red, 56% green and 86% blue. Whereas in a CMYK color space, it is composed of 1% cyan, 35% magenta, 0% yellow and 14% black.

In the Yxy color space, this color is represented as Y: 39.47, x: 0.3515, and y: 0.2716.

Color Code #D98FDC

#D98FDCrgb(217, 143, 220)
HEX
#D98FDC
RGB
rgb(217, 143, 220)
HSL
hsl(298, 52%, 71%)
HSV
hsv(298, 35%, 86%)
CMYK
1%, 35%, 0%, 14%
XYZ
X: 51.08, Y: 39.47, Z: 54.75
Lab
L: 69.09, a: 37.79, b: -27.73
Name

Shades of Color #D98FDC

Shades are created by darkening the original color #D98FDC in equal steps from 0% to 90%. These shades are perfect for creating depth and contrast in your designs. Use them to add visual hierarchy or highlight specific elements in your projects.

Tints of Color #D98FDC

Tints are created by lightening the original color #D98FDC in equal steps from 0% to 90%, ending with pure white. These tints are ideal for creating soft backgrounds, subtle highlights, or cohesive UI elements that complement your designs.

#D98FDCrgb(217, 143, 220)

About #D98FDC Color Code

In the HSL color space, this color has a hue angle of 298°, a saturation of 52%, and a lightness of 71%. The HSV representation shows a hue of 298°, a saturation of 35%, and a value of 86%.

  • HEX: #D98FDC
  • RGB: rgb(217, 143, 220)
  • HSL: hsl(298, 52%, 71%)
  • HSV: hsv(298, 35%, 86%)
  • CMYK: 100.00% cyan, 35.00% magenta, 0.00% yellow, 14.00% black
  • XYZ: 51.08, 39.47, 54.75
  • Yxy: 39.47, 0.3515, 0.2716
  • Hunter Lab: 69.09, 37.79, -27.73
  • CIE-Lab: 69.09, 37.79, -27.73

In the XYZ color space, this color is represented as X: 51.08, Y: 39.47, Z: 54.75. The Yxy representation further refines this as Y: 39.47, x: 0.3515, and y: 0.2716.

In the Hunter Lab color space, this color is represented as L: 69.09, a: 37.79, and b: -27.73. Similarly, in the CIE-Lab color space, it is represented as L: 69.09, a: 37.79, and b: -27.73.

Use these color codes in your CSS, design tools, or anywhere you need to specify a color. You can also explore its shades and tints for more creative options.

Triadic Colors of #D98FDC

Triadic colors are three colors evenly spaced around the color wheel, including #D98FDC. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.

Analogous Colors of #D98FDC

Analogous colors are adjacent to #D98FDC on the color wheel. They create harmonious and visually pleasing designs, ideal for projects that need a cohesive look.

Monochromatic Colors of #D98FDC

Monochromatic colors are variations of #D98FDC, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.

Complementary Color of #D98FDC

The complementary color of #D98FDC is opposite it on the color wheel. Complementary colors provide strong contrast and are ideal for designs that need visual impact and attention.

CSS Examples of #D98FDC

/* Using HEX */
body {
  background-color: #d98fdc;
}
/* Using RGB */
body {
  background-color: rgb(217, 143, 220);
}
/* Using RGB with opacity */
body {
  background-color: rgba(217, 143, 220, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(298, 52%, 71%);
}
/* Text color */
p {
  color: #d98fdc;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #d98fdc;
}
/* Border color */
.box {
  border: 4px solid #d98fdc;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #d98fdc;
}
Text Shadow Preview
/* Background with text */
div {
  background: #d98fdc;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#D98FDC
On Black Background
#D98FDC
On White Background
#D98FDC

HTML Examples of #D98FDC

<!-- Using HEX -->
<div style="background-color: #d98fdc; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(217, 143, 220); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(217, 143, 220, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(298, 52%, 71%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #d98fdc;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #d98fdc; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #d98fdc; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #d98fdc;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #d98fdc; color: #fff; padding: 16px; border-radius: 8px;">
  #D98FDC
</div>
#D98FDC
On Black Background
#D98FDC
On White Background
#D98FDC

Related Colors of #D98FDC

These colors are similar to #D98FDC, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.