#CD28F0

#cd28f0 ≈ Electric Purple

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

#cd28f0 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 94.12% blue; printed in CMYK it uses 14.58% cyan, 83.33% magenta, 0% yellow and 5.88% black. Its hue angle is 289.5°, with 86.96% saturation and 54.9% 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.16:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.32.

Description generated from the measured properties of this color.

Conversions of #cd28f0 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.2079

Readable text 4.07:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.16:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #a466b7 ≈ 0.001% of males
Protanopia #0074f5 ≈ 1.01% of males
Deuteranopia #3b83ec ≈ 1.27% of males
Tritanopia #cd5991 ≈ 0.0001% of males
Protanomaly #7d5ef3 ≈ 1.08% of males
Deuteranomaly #8e6aee ≈ 4.63% of males
Tritanomaly #cd4abf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cd28f0  rgb(205, 40, 240)  hsl(290, 87%, 55%)  Electric Purple
#4bf028  rgb(75, 240, 40)  hsl(110, 87%, 55%)  Neon Green
#f0cd28  rgb(240, 205, 40)  hsl(50, 87%, 55%)  Jonquil
#28f0cd  rgb(40, 240, 205)  hsl(170, 87%, 55%)  Aquamarine