#CD28EB

#cd28eb ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#cd28eb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 15.69% green and 92.16% blue; printed in CMYK it uses 12.77% cyan, 82.98% magenta, 0% yellow and 7.84% black. Its hue angle is 290.77°, with 82.98% saturation and 53.92% 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 5.1:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.61.

Description generated from the measured properties of this color.

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

Readable text 4.12:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.1:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #a365b4 ≈ 0.001% of males
Protanopia #0072f0 ≈ 1.01% of males
Deuteranopia #4182e7 ≈ 1.27% of males
Tritanopia #ce578e ≈ 0.0001% of males
Protanomaly #7f5dee ≈ 1.08% of males
Deuteranomaly #8f6ae9 ≈ 4.63% of males
Tritanomaly #ce48bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd28eb {
  color: #cd28eb;
}
Background
.bg-cd28eb {
  background-color: #cd28eb;
  color: #000000;
}
Border
.border-cd28eb {
  border: 2px solid #cd28eb;
}
CSS variables
:root {
  --color-primary: #cd28eb;
  --color-primary-rgb: 205 40 235;
  --color-primary-hsl: 291 83% 54%;
}
Gradient
.gradient-cd28eb {
  background: linear-gradient(135deg, #cd28eb, #eb28a7);
}
Colored shadow
.shadow-cd28eb {
  box-shadow: 0 8px 24px rgb(205 40 235 / 0.35);
}

Electric Purple
#cd28eb  rgb(205, 40, 235)  hsl(291, 83%, 54%)  Electric Purple
#46eb28  rgb(70, 235, 40)  hsl(111, 83%, 54%)  Neon Green
#ebcd28  rgb(235, 205, 40)  hsl(51, 83%, 54%)  Citrine
#28ebcd  rgb(40, 235, 205)  hsl(171, 83%, 54%)  Turquoise