#CB02E2

#cb02e2 ≈ Electric Purple

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

#cb02e2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 0.78% green and 88.63% blue; printed in CMYK it uses 10.18% cyan, 99.12% magenta, 0% yellow and 11.37% black. Its hue angle is 293.84°, with 98.25% saturation and 44.71% 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.65:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.45.

Description generated from the measured properties of this color.

Conversions of #cb02e2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc00cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1823

Readable text 4.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #9f5dac ≈ 0.001% of males
Protanopia #006ae7 ≈ 1.01% of males
Deuteranopia #3d7dde ≈ 1.27% of males
Tritanopia #cd4985 ≈ 0.0001% of males
Protanomaly #7c53e5 ≈ 1.08% of males
Deuteranomaly #8d62e0 ≈ 4.63% of males
Tritanomaly #cc38b2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cb02e2  rgb(203, 2, 226)  hsl(294, 98%, 45%)  Electric Purple
#19e202  rgb(25, 226, 2)  hsl(114, 98%, 45%)  Lime Green
#e2cb02  rgb(226, 203, 2)  hsl(54, 98%, 45%)  Citrine
#02e2cb  rgb(2, 226, 203)  hsl(174, 98%, 45%)  Turquoise