#D12DFB

#d12dfb ≈ Electric Purple

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

#d12dfb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.96% red, 17.65% green and 98.43% blue; printed in CMYK it uses 16.73% cyan, 82.07% magenta, 0% yellow and 1.57% black. Its hue angle is 287.77°, with 96.26% saturation and 58.04% 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.48:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.12.

Description generated from the measured properties of this color.

Conversions of #d12dfb 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.224

Readable text 3.83:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.48:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #a86abf ≈ 0.001% of males
Protanopia #0078ff ≈ 1.01% of males
Deuteranopia #3687f7 ≈ 1.27% of males
Tritanopia #cf6098 ≈ 0.0001% of males
Protanomaly #7f63fe ≈ 1.08% of males
Deuteranomaly #906ef8 ≈ 4.63% of males
Tritanomaly #d050c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d12dfb {
  color: #d12dfb;
}
Background
.bg-d12dfb {
  background-color: #d12dfb;
  color: #000000;
}
Border
.border-d12dfb {
  border: 2px solid #d12dfb;
}
CSS variables
:root {
  --color-primary: #d12dfb;
  --color-primary-rgb: 209 45 251;
  --color-primary-hsl: 288 96% 58%;
}
Gradient
.gradient-d12dfb {
  background: linear-gradient(135deg, #d12dfb, #fb2dbe);
}
Colored shadow
.shadow-d12dfb {
  box-shadow: 0 8px 24px rgb(209 45 251 / 0.35);
}

Electric Purple
#d12dfb  rgb(209, 45, 251)  hsl(288, 96%, 58%)  Electric Purple
#57fb2d  rgb(87, 251, 45)  hsl(108, 96%, 58%)  Neon Green
#fbd12d  rgb(251, 209, 45)  hsl(48, 96%, 58%)  Cyber Yellow
#2dfbd1  rgb(45, 251, 209)  hsl(168, 96%, 58%)  Aquamarine