#CD15D2

#cd15d2 ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#cd15d2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 8.24% green and 82.35% blue; printed in CMYK it uses 2.38% cyan, 90% magenta, 0% yellow and 17.65% black. Its hue angle is 298.41°, with 81.82% saturation and 45.29% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. Black text on this color reaches a contrast ratio of 4.63:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.82.

Description generated from the measured properties of this color.

Conversions of #cd15d2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc00cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1817

Readable text 4.53:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.63:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #a05ea3 ≈ 0.001% of males
Protanopia #0068d6 ≈ 1.01% of males
Deuteranopia #527dce ≈ 1.27% of males
Tritanopia #d3427d ≈ 0.0001% of males
Protanomaly #8353d5 ≈ 1.08% of males
Deuteranomaly #9464d0 ≈ 4.63% of males
Tritanomaly #d135a6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd15d2 {
  color: #cd15d2;
}
Background
.bg-cd15d2 {
  background-color: #cd15d2;
  color: #000000;
}
Border
.border-cd15d2 {
  border: 2px solid #cd15d2;
}
CSS variables
:root {
  --color-primary: #cd15d2;
  --color-primary-rgb: 205 21 210;
  --color-primary-hsl: 298 82% 45%;
}
Gradient
.gradient-cd15d2 {
  background: linear-gradient(135deg, #cd15d2, #d21578);
}
Colored shadow
.shadow-cd15d2 {
  box-shadow: 0 8px 24px rgb(205 21 210 / 0.35);
}

Electric Purple
#cd15d2  rgb(205, 21, 210)  hsl(298, 82%, 45%)  Electric Purple
#1ad215  rgb(26, 210, 21)  hsl(118, 82%, 45%)  Lime Green
#d2cd15  rgb(210, 205, 21)  hsl(58, 82%, 45%)  Citrine
#15d2cd  rgb(21, 210, 205)  hsl(178, 82%, 45%)  Medium Turquoise