Color: #A840DB

#A840DB Color Information

#A840DB is a dark color. The closest websafe version is #A840DB. A complement of this color would be #72DA3E, perceived brightness is 0.44, and the grayscale version is #8D8D8D.

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

In a RGB color space, #A840DB is composed of 66% red, 25% green and 86% blue. Whereas in a CMYK color space, it is composed of 23% cyan, 71% magenta, 0% yellow and 14% black.

In the Yxy color space, this color is represented as Y: 16.68, x: 0.2994, and y: 0.1711.

Color Code #A840DB

#A840DBrgb(168, 64, 219)
HEX
#A840DB
RGB
rgb(168, 64, 219)
HSL
hsl(280, 68%, 55%)
HSV
hsv(280, 71%, 86%)
CMYK
23%, 71%, 0%, 14%
XYZ
X: 29.19, Y: 16.68, Z: 51.63
Lab
L: 47.86, a: 60.47, b: -60.96
Name

Shades of Color #A840DB

Shades are created by darkening the original color #A840DB 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 #A840DB

Tints are created by lightening the original color #A840DB 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.

#A840DBrgb(168, 64, 219)

About #A840DB Color Code

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

  • HEX: #A840DB
  • RGB: rgb(168, 64, 219)
  • HSL: hsl(280, 68%, 55%)
  • HSV: hsv(280, 71%, 86%)
  • CMYK: 23.00% cyan, 71.00% magenta, 0.00% yellow, 14.00% black
  • XYZ: 29.19, 16.68, 51.63
  • Yxy: 16.68, 0.2994, 0.1711
  • Hunter Lab: 47.86, 60.47, -60.96
  • CIE-Lab: 47.86, 60.47, -60.96

In the XYZ color space, this color is represented as X: 29.19, Y: 16.68, Z: 51.63. The Yxy representation further refines this as Y: 16.68, x: 0.2994, and y: 0.1711.

In the Hunter Lab color space, this color is represented as L: 47.86, a: 60.47, and b: -60.96. Similarly, in the CIE-Lab color space, it is represented as L: 47.86, a: 60.47, and b: -60.96.

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 #A840DB

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

Analogous Colors of #A840DB

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

Split Complementary Colors of #A840DB

Split complementary colors are two colors adjacent to the complementary color of #A840DB. They create a balanced and visually appealing color scheme.

Tetradic Colors of #A840DB

Tetradic colors form a rectangle on the color wheel, including #A840DB. They provide vibrant and diverse color schemes for creative designs.

Monochromatic Colors of #A840DB

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

Complementary Color of #A840DB

The complementary color of #A840DB 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 #A840DB

/* Using HEX */
body {
  background-color: #a840db;
}
/* Using RGB */
body {
  background-color: rgb(168, 64, 219);
}
/* Using RGB with opacity */
body {
  background-color: rgba(168, 64, 219, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(280, 68%, 55%);
}
/* Text color */
p {
  color: #a840db;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #a840db;
}
/* Border color */
.box {
  border: 4px solid #a840db;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #a840db;
}
Text Shadow Preview
/* Background with text */
div {
  background: #a840db;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#A840DB
On Black Background
#A840DB
On White Background
#A840DB

HTML Examples of #A840DB

<!-- Using HEX -->
<div style="background-color: #a840db; width: 100px; height: 100px;"></div>
<!-- Using RGB -->
<div style="background-color: rgb(168, 64, 219); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity -->
<div style="background-color: rgba(168, 64, 219, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL -->
<div style="background-color: hsl(280, 68%, 55%); width: 100px; height: 100px;"></div>
<!-- Text color -->
<p style="color: #a840db;">This is a text example.</p>
Text Preview
<!-- Box shadow -->
<div style="box-shadow: 4px 4px #a840db; width: 100px; height: 100px;"></div>
<!-- Border color -->
<div style="border: 4px solid #a840db; width: 100px; height: 100px;"></div>
<!-- Text shadow -->
<h1 style="color: #222; text-shadow: 2px 2px 0 #a840db;">Text Shadow Preview</h1>
Text Shadow Preview
<!-- Background with text -->
<div style="background: #a840db; color: #fff; padding: 16px; border-radius: 8px;">
  #A840DB
</div>
#A840DB
On Black Background
#A840DB
On White Background
#A840DB

Related Colors of #A840DB

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