#CB12DB

#cb12db ≈ Electric Purple

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

#cb12db is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 7.06% green and 85.88% blue; printed in CMYK it uses 7.31% cyan, 91.78% magenta, 0% yellow and 14.12% black. Its hue angle is 295.22°, with 84.81% saturation and 46.47% 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 5.41.

Description generated from the measured properties of this color.

Conversions of #cb12db 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.1824

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 #9f5ea8 ≈ 0.001% of males
Protanopia #006ae0 ≈ 1.01% of males
Deuteranopia #477dd7 ≈ 1.27% of males
Tritanopia #cf4782 ≈ 0.0001% of males
Protanomaly #7e54de ≈ 1.08% of males
Deuteranomaly #8f63d9 ≈ 4.63% of males
Tritanomaly #cd39ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cb12db {
  color: #cb12db;
}
Background
.bg-cb12db {
  background-color: #cb12db;
  color: #000000;
}
Border
.border-cb12db {
  border: 2px solid #cb12db;
}
CSS variables
:root {
  --color-primary: #cb12db;
  --color-primary-rgb: 203 18 219;
  --color-primary-hsl: 295 85% 46%;
}
Gradient
.gradient-cb12db {
  background: linear-gradient(135deg, #cb12db, #db1287);
}
Colored shadow
.shadow-cb12db {
  box-shadow: 0 8px 24px rgb(203 18 219 / 0.35);
}

Electric Purple
#cb12db  rgb(203, 18, 219)  hsl(295, 85%, 46%)  Electric Purple
#22db12  rgb(34, 219, 18)  hsl(115, 85%, 46%)  Lime Green
#dbcb12  rgb(219, 203, 18)  hsl(55, 85%, 46%)  Citrine
#12dbcb  rgb(18, 219, 203)  hsl(175, 85%, 46%)  Turquoise