#DB12FF

#db12ff ≈ Electric Purple

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

#db12ff is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 85.88% red, 7.06% green and 100% blue; printed in CMYK it uses 14.12% cyan, 92.94% magenta, 0% yellow and 0% black. Its hue angle is 290.89°, with 100% saturation and 53.53% 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.54:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.63.

Description generated from the measured properties of this color.

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

Readable text 3.79:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.54:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #838383 ≈ 0.003% of males
Achromatomaly #ad68c1 ≈ 0.001% of males
Protanopia #0077ff ≈ 1.01% of males
Deuteranopia #3689fb ≈ 1.27% of males
Tritanopia #db5897 ≈ 0.0001% of males
Protanomaly #845fff ≈ 1.08% of males
Deuteranomaly #966dfc ≈ 4.63% of males
Tritanomaly #db46c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-db12ff {
  color: #db12ff;
}
Background
.bg-db12ff {
  background-color: #db12ff;
  color: #000000;
}
Border
.border-db12ff {
  border: 2px solid #db12ff;
}
CSS variables
:root {
  --color-primary: #db12ff;
  --color-primary-rgb: 219 18 255;
  --color-primary-hsl: 291 100% 54%;
}
Gradient
.gradient-db12ff {
  background: linear-gradient(135deg, #db12ff, #ff12ac);
}
Colored shadow
.shadow-db12ff {
  box-shadow: 0 8px 24px rgb(219 18 255 / 0.35);
}

Electric Purple
#db12ff  rgb(219, 18, 255)  hsl(291, 100%, 54%)  Electric Purple
#36ff12  rgb(54, 255, 18)  hsl(111, 100%, 54%)  Neon Green
#ffdb12  rgb(255, 219, 18)  hsl(51, 100%, 54%)  Gold
#12ffdb  rgb(18, 255, 219)  hsl(171, 100%, 54%)  Aquamarine