#CB2AFE

#cb2afe ≈ Electric Purple

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

#cb2afe is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 16.47% green and 99.61% blue; printed in CMYK it uses 20.08% cyan, 83.46% magenta, 0% yellow and 0.39% black. Its hue angle is 285.57°, with 99.07% saturation and 58.04% 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.3:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.92.

Description generated from the measured properties of this color.

Conversions of #cb2afe 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.2151

Readable text 3.96:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.3:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #a368c0 ≈ 0.001% of males
Protanopia #0077ff ≈ 1.01% of males
Deuteranopia #1f84fa ≈ 1.27% of males
Tritanopia #c76299 ≈ 0.0001% of males
Protanomaly #7861ff ≈ 1.08% of males
Deuteranomaly #886bfb ≈ 4.63% of males
Tritanomaly #c951ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cb2afe {
  color: #cb2afe;
}
Background
.bg-cb2afe {
  background-color: #cb2afe;
  color: #000000;
}
Border
.border-cb2afe {
  border: 2px solid #cb2afe;
}
CSS variables
:root {
  --color-primary: #cb2afe;
  --color-primary-rgb: 203 42 254;
  --color-primary-hsl: 286 99% 58%;
}
Gradient
.gradient-cb2afe {
  background: linear-gradient(135deg, #cb2afe, #fe2ac7);
}
Colored shadow
.shadow-cb2afe {
  box-shadow: 0 8px 24px rgb(203 42 254 / 0.35);
}

Electric Purple
#cb2afe  rgb(203, 42, 254)  hsl(286, 99%, 58%)  Electric Purple
#5dfe2a  rgb(93, 254, 42)  hsl(106, 99%, 58%)  Harlequin
#fecb2a  rgb(254, 203, 42)  hsl(46, 99%, 58%)  Sunglow
#2afecb  rgb(42, 254, 203)  hsl(166, 99%, 58%)  Aquamarine