Color: #CC27DB

#CC27DB Color Information

#CC27DB is a dark color. The closest websafe version is #CC27DB. A complement of this color would be #38DB29, perceived brightness is 0.43, and the grayscale version is #818181.

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

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

In the Yxy color space, this color is represented as Y: 19.18, x: 0.3447, and y: 0.1775.

Color Code #CC27DB

#CC27DBrgb(204, 39, 219)
HEX
#CC27DB
RGB
rgb(204, 39, 219)
HSL
hsl(295, 71%, 51%)
HSV
hsv(295, 82%, 86%)
CMYK
7%, 82%, 0%, 14%
XYZ
X: 37.25, Y: 19.18, Z: 51.63
Lab
L: 50.90, a: 75.78, b: -55.71
Name

Shades of Color #CC27DB

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

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

#CC27DBrgb(204, 39, 219)

About #CC27DB Color Code

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

  • HEX: #CC27DB
  • RGB: rgb(204, 39, 219)
  • HSL: hsl(295, 71%, 51%)
  • HSV: hsv(295, 82%, 86%)
  • CMYK: 7.00% cyan, 82.00% magenta, 0.00% yellow, 14.00% black
  • XYZ: 37.25, 19.18, 51.63
  • Yxy: 19.18, 0.3447, 0.1775
  • Hunter Lab: 50.90, 75.78, -55.71
  • CIE-Lab: 50.90, 75.78, -55.71

In the XYZ color space, this color is represented as X: 37.25, Y: 19.18, Z: 51.63. The Yxy representation further refines this as Y: 19.18, x: 0.3447, and y: 0.1775.

In the Hunter Lab color space, this color is represented as L: 50.90, a: 75.78, and b: -55.71. Similarly, in the CIE-Lab color space, it is represented as L: 50.90, a: 75.78, and b: -55.71.

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

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

Analogous Colors of #CC27DB

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

Split Complementary Colors of #CC27DB

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

Tetradic Colors of #CC27DB

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

Monochromatic Colors of #CC27DB

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

Complementary Color of #CC27DB

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

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

HTML Examples of #CC27DB

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

Related Colors of #CC27DB

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