#CD28F7

#cd28f7 ≈ Electric Purple

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

#cd28f7 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 96.86% blue; printed in CMYK it uses 17% cyan, 83.81% magenta, 0% yellow and 3.14% black. Its hue angle is 287.83°, with 92.83% saturation and 56.27% 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.24:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.1.

Description generated from the measured properties of this color.

Conversions of #cd28f7 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.2121

Readable text 4.01:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.24:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #a467bb ≈ 0.001% of males
Protanopia #0075fc ≈ 1.01% of males
Deuteranopia #3184f3 ≈ 1.27% of males
Tritanopia #cb5d95 ≈ 0.0001% of males
Protanomaly #7b60fa ≈ 1.08% of males
Deuteranomaly #8c6bf5 ≈ 4.63% of males
Tritanomaly #cc4dc4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd28f7 {
  color: #cd28f7;
}
Background
.bg-cd28f7 {
  background-color: #cd28f7;
  color: #000000;
}
Border
.border-cd28f7 {
  border: 2px solid #cd28f7;
}
CSS variables
:root {
  --color-primary: #cd28f7;
  --color-primary-rgb: 205 40 247;
  --color-primary-hsl: 288 93% 56%;
}
Gradient
.gradient-cd28f7 {
  background: linear-gradient(135deg, #cd28f7, #f728b9);
}
Colored shadow
.shadow-cd28f7 {
  box-shadow: 0 8px 24px rgb(205 40 247 / 0.35);
}

Electric Purple
#cd28f7  rgb(205, 40, 247)  hsl(288, 93%, 56%)  Electric Purple
#52f728  rgb(82, 247, 40)  hsl(108, 93%, 56%)  Neon Green
#f7cd28  rgb(247, 205, 40)  hsl(48, 93%, 56%)  Jonquil
#28f7cd  rgb(40, 247, 205)  hsl(168, 93%, 56%)  Aquamarine