#CB28F0

#cb28f0 ≈ Electric Purple

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

#cb28f0 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 15.69% green and 94.12% blue; printed in CMYK it uses 15.42% cyan, 83.33% magenta, 0% yellow and 5.88% black. Its hue angle is 288.9°, 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.1:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.98.

Description generated from the measured properties of this color.

Conversions of #cb28f0 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.2051

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 #a266b7 ≈ 0.001% of males
Protanopia #0073f5 ≈ 1.01% of males
Deuteranopia #3882ec ≈ 1.27% of males
Tritanopia #ca5a91 ≈ 0.0001% of males
Protanomaly #7b5ef3 ≈ 1.08% of males
Deuteranomaly #8c69ee ≈ 4.63% of males
Tritanomaly #cb4abe ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cb28f0  rgb(203, 40, 240)  hsl(289, 87%, 55%)  Electric Purple
#4df028  rgb(77, 240, 40)  hsl(109, 87%, 55%)  Neon Green
#f0cb28  rgb(240, 203, 40)  hsl(49, 87%, 55%)  Jonquil
#28f0cb  rgb(40, 240, 203)  hsl(169, 87%, 55%)  Aquamarine