#CB2DEF

#cb2def ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

Conversions of #cb2def 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.2081

Readable text 4.07:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.16:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #a267b6 ≈ 0.001% of males
Protanopia #0074f4 ≈ 1.01% of males
Deuteranopia #3c83eb ≈ 1.27% of males
Tritanopia #ca5b91 ≈ 0.0001% of males
Protanomaly #7d5ff2 ≈ 1.08% of males
Deuteranomaly #8d6bed ≈ 4.63% of males
Tritanomaly #cb4dbe ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cb2def  rgb(203, 45, 239)  hsl(289, 86%, 56%)  Electric Purple
#51ef2d  rgb(81, 239, 45)  hsl(109, 86%, 56%)  Neon Green
#efcb2d  rgb(239, 203, 45)  hsl(49, 86%, 56%)  Jonquil
#2defcb  rgb(45, 239, 203)  hsl(169, 86%, 56%)  Aquamarine