#CD15D3

#cd15d3 ≈ Electric Purple

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

#cd15d3 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.75% blue; printed in CMYK it uses 2.84% cyan, 90.05% magenta, 0% yellow and 17.25% black. Its hue angle is 298.11°, with 81.9% saturation and 45.49% 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.64:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.69.

Description generated from the measured properties of this color.

Conversions of #cd15d3 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.1822

Readable text 4.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.64:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #a05ea4 ≈ 0.001% of males
Protanopia #0069d7 ≈ 1.01% of males
Deuteranopia #517ecf ≈ 1.27% of males
Tritanopia #d3427d ≈ 0.0001% of males
Protanomaly #8253d6 ≈ 1.08% of males
Deuteranomaly #9364d1 ≈ 4.63% of males
Tritanomaly #d035a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cd15d3  rgb(205, 21, 211)  hsl(298, 82%, 45%)  Electric Purple
#1bd315  rgb(27, 211, 21)  hsl(118, 82%, 45%)  Lime Green
#d3cd15  rgb(211, 205, 21)  hsl(58, 82%, 45%)  Citrine
#15d3cd  rgb(21, 211, 205)  hsl(178, 82%, 45%)  Medium Turquoise