#CB2FEF

#cb2fef ≈ Electric Purple

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

#cb2fef is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 18.43% green and 93.73% blue; printed in CMYK it uses 15.06% cyan, 80.33% magenta, 0% yellow and 6.27% black. Its hue angle is 288.75°, with 85.71% saturation and 56.08% 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.19:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.52.

Description generated from the measured properties of this color.

Conversions of #cb2fef 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.2096

Readable text 4.04:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.19:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #a368b7 ≈ 0.001% of males
Protanopia #0075f4 ≈ 1.01% of males
Deuteranopia #3d83eb ≈ 1.27% of males
Tritanopia #ca5c91 ≈ 0.0001% of males
Protanomaly #7d60f2 ≈ 1.08% of males
Deuteranomaly #8d6bed ≈ 4.63% of males
Tritanomaly #cb4ebe ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cb2fef {
  color: #cb2fef;
}
Background
.bg-cb2fef {
  background-color: #cb2fef;
  color: #000000;
}
Border
.border-cb2fef {
  border: 2px solid #cb2fef;
}
CSS variables
:root {
  --color-primary: #cb2fef;
  --color-primary-rgb: 203 47 239;
  --color-primary-hsl: 289 86% 56%;
}
Gradient
.gradient-cb2fef {
  background: linear-gradient(135deg, #cb2fef, #ef2fb3);
}
Colored shadow
.shadow-cb2fef {
  box-shadow: 0 8px 24px rgb(203 47 239 / 0.35);
}

Electric Purple
#cb2fef  rgb(203, 47, 239)  hsl(289, 86%, 56%)  Electric Purple
#53ef2f  rgb(83, 239, 47)  hsl(109, 86%, 56%)  Neon Green
#efcb2f  rgb(239, 203, 47)  hsl(49, 86%, 56%)  Jonquil
#2fefcb  rgb(47, 239, 203)  hsl(169, 86%, 56%)  Aquamarine