#C028F2

#c028f2 ≈ Electric Purple

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

#c028f2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 75.29% red, 15.69% green and 94.9% blue; printed in CMYK it uses 20.66% cyan, 83.47% magenta, 0% yellow and 5.1% black. Its hue angle is 285.15°, with 88.6% saturation and 55.29% 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.83:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.27.

Description generated from the measured properties of this color.

Conversions of #c028f2 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.1913

Readable text 4.35:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.83:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #9b62b6 ≈ 0.001% of males
Protanopia #0071f7 ≈ 1.01% of males
Deuteranopia #197dee ≈ 1.27% of males
Tritanopia #bc5d92 ≈ 0.0001% of males
Protanomaly #705cf5 ≈ 1.08% of males
Deuteranomaly #8065f0 ≈ 4.63% of males
Tritanomaly #bd4dc0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c028f2 {
  color: #c028f2;
}
Background
.bg-c028f2 {
  background-color: #c028f2;
  color: #000000;
}
Border
.border-c028f2 {
  border: 2px solid #c028f2;
}
CSS variables
:root {
  --color-primary: #c028f2;
  --color-primary-rgb: 192 40 242;
  --color-primary-hsl: 285 89% 55%;
}
Gradient
.gradient-c028f2 {
  background: linear-gradient(135deg, #c028f2, #f228bf);
}
Colored shadow
.shadow-c028f2 {
  box-shadow: 0 8px 24px rgb(192 40 242 / 0.35);
}

Electric Purple
#c028f2  rgb(192, 40, 242)  hsl(285, 89%, 55%)  Electric Purple
#5af228  rgb(90, 242, 40)  hsl(105, 89%, 55%)  Neon Green
#f2c028  rgb(242, 192, 40)  hsl(45, 89%, 55%)  Saffron
#28f2c0  rgb(40, 242, 192)  hsl(165, 89%, 55%)  Aquamarine