#CB02CD

#cb02cd ≈ Electric Purple

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

#cb02cd 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 80.39% blue; printed in CMYK it uses 0.98% cyan, 99.02% magenta, 0% yellow and 19.61% black. Its hue angle is 299.41°, with 98.07% saturation and 40.59% 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. White text on this color reaches a contrast ratio of 4.74:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 7.29.

Description generated from the measured properties of this color.

Conversions of #cb02cd 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.1715

Readable text 4.74:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.43:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #9e5a9f ≈ 0.001% of males
Protanopia #0065d1 ≈ 1.01% of males
Deuteranopia #507bc9 ≈ 1.27% of males
Tritanopia #d13b78 ≈ 0.0001% of males
Protanomaly #814fd0 ≈ 1.08% of males
Deuteranomaly #9260cb ≈ 4.63% of males
Tritanomaly #cf2da1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cb02cd {
  color: #cb02cd;
}
Background
.bg-cb02cd {
  background-color: #cb02cd;
  color: #ffffff;
}
Border
.border-cb02cd {
  border: 2px solid #cb02cd;
}
CSS variables
:root {
  --color-primary: #cb02cd;
  --color-primary-rgb: 203 2 205;
  --color-primary-hsl: 299 98% 41%;
}
Gradient
.gradient-cb02cd {
  background: linear-gradient(135deg, #cb02cd, #cd026a);
}
Colored shadow
.shadow-cb02cd {
  box-shadow: 0 8px 24px rgb(203 2 205 / 0.35);
}

Electric Purple
#cb02cd  rgb(203, 2, 205)  hsl(299, 98%, 41%)  Electric Purple
#04cd02  rgb(4, 205, 2)  hsl(119, 98%, 41%)  Lime Green
#cdcb02  rgb(205, 203, 2)  hsl(59, 98%, 41%)  Citrine
#02cdcb  rgb(2, 205, 203)  hsl(179, 98%, 41%)  Robin Egg Blue