#CD28ED

#cd28ed ≈ Electric Purple

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

#cd28ed 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.94% blue; printed in CMYK it uses 13.5% cyan, 83.12% magenta, 0% yellow and 7.06% black. Its hue angle is 290.25°, with 84.55% saturation and 54.31% 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.12:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.48.

Description generated from the measured properties of this color.

Conversions of #cd28ed 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.2061

Readable text 4.1:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.12:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #a366b5 ≈ 0.001% of males
Protanopia #0073f2 ≈ 1.01% of males
Deuteranopia #3f83e9 ≈ 1.27% of males
Tritanopia #cd588f ≈ 0.0001% of males
Protanomaly #7e5ef0 ≈ 1.08% of males
Deuteranomaly #8f6aeb ≈ 4.63% of males
Tritanomaly #cd49bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cd28ed  rgb(205, 40, 237)  hsl(290, 85%, 54%)  Electric Purple
#48ed28  rgb(72, 237, 40)  hsl(110, 85%, 54%)  Neon Green
#edcd28  rgb(237, 205, 40)  hsl(50, 85%, 54%)  Jonquil
#28edcd  rgb(40, 237, 205)  hsl(170, 85%, 54%)  Turquoise