Color: #CC21DB

#CC21DB Color Information

#CC21DB is a dark color. The closest websafe version is #CC21DB. A complement of this color would be #30D920, perceived brightness is 0.41, and the grayscale version is #7E7E7E.

In the HSL color space, this color has a hue angle of 295°,a saturation of 74%, and a lightness of 49%.The HSV representation shows a hue of 295°, a saturation of 85%, and a value of 86%.

In a RGB color space, #CC21DB is composed of 80% red, 13% green and 86% blue. Whereas in a CMYK color space, it is composed of 7% cyan, 85% magenta, 0% yellow and 14% black.

In the Yxy color space, this color is represented as Y: 18.82, x: 0.3448, and y: 0.1752.

Color Code #CC21DB

#CC21DBrgb(204, 33, 219)
HEX
#CC21DB
RGB
rgb(204, 33, 219)
HSL
hsl(295, 74%, 49%)
HSV
hsv(295, 85%, 86%)
CMYK
7%, 85%, 0%, 14%
XYZ
X: 37.05, Y: 18.82, Z: 51.58
Lab
L: 50.48, a: 76.98, b: -56.39
Name

Shades of Color #CC21DB

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

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

#CC21DBrgb(204, 33, 219)

About #CC21DB Color Code

In the HSL color space, this color has a hue angle of 295°, a saturation of 74%, and a lightness of 49%. The HSV representation shows a hue of 295°, a saturation of 85%, and a value of 86%.

  • HEX: #CC21DB
  • RGB: rgb(204, 33, 219)
  • HSL: hsl(295, 74%, 49%)
  • HSV: hsv(295, 85%, 86%)
  • CMYK: 7.00% cyan, 85.00% magenta, 0.00% yellow, 14.00% black
  • XYZ: 37.05, 18.82, 51.58
  • Yxy: 18.82, 0.3448, 0.1752
  • Hunter Lab: 50.48, 76.98, -56.39
  • CIE-Lab: 50.48, 76.98, -56.39

In the XYZ color space, this color is represented as X: 37.05, Y: 18.82, Z: 51.58. The Yxy representation further refines this as Y: 18.82, x: 0.3448, and y: 0.1752.

In the Hunter Lab color space, this color is represented as L: 50.48, a: 76.98, and b: -56.39. Similarly, in the CIE-Lab color space, it is represented as L: 50.48, a: 76.98, and b: -56.39.

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

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

Analogous Colors of #CC21DB

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

Split Complementary Colors of #CC21DB

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

Tetradic Colors of #CC21DB

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

Monochromatic Colors of #CC21DB

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

Complementary Color of #CC21DB

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

/* Using HEX */
body {
  background-color: #cc21db;
}
/* Using RGB */
body {
  background-color: rgb(204, 33, 219);
}
/* Using RGB with opacity */
body {
  background-color: rgba(204, 33, 219, 0.5);
}
/* Using HSL */
body {
  background-color: hsl(295, 74%, 49%);
}
/* Text color */
p {
  color: #cc21db;
}
Text Preview
/* Box shadow */
div {
  box-shadow: 4px 4px #cc21db;
}
/* Border color */
.box {
  border: 4px solid #cc21db;
}
/* Text shadow */
h1 {
  color: #222;
  text-shadow: 2px 2px 0 #cc21db;
}
Text Shadow Preview
/* Background with text */
div {
  background: #cc21db;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
}
#CC21DB
On Black Background
#CC21DB
On White Background
#CC21DB

HTML Examples of #CC21DB

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

Related Colors of #CC21DB

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