#D227EB

#d227eb ≈ Electric Purple

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

#d227eb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 15.29% green and 92.16% blue; printed in CMYK it uses 10.64% cyan, 83.4% magenta, 0% yellow and 7.84% black. Its hue angle is 292.35°, with 83.05% saturation and 53.73% 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.23:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.39.

Description generated from the measured properties of this color.

Conversions of #d227eb 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.2115

Readable text 4.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.23:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #a767b4 ≈ 0.001% of males
Protanopia #0073f0 ≈ 1.01% of males
Deuteranopia #4885e7 ≈ 1.27% of males
Tritanopia #d4558e ≈ 0.0001% of males
Protanomaly #835eee ≈ 1.08% of males
Deuteranomaly #946be9 ≈ 4.63% of males
Tritanomaly #d347bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d227eb {
  color: #d227eb;
}
Background
.bg-d227eb {
  background-color: #d227eb;
  color: #000000;
}
Border
.border-d227eb {
  border: 2px solid #d227eb;
}
CSS variables
:root {
  --color-primary: #d227eb;
  --color-primary-rgb: 210 39 235;
  --color-primary-hsl: 292 83% 54%;
}
Gradient
.gradient-d227eb {
  background: linear-gradient(135deg, #d227eb, #eb27a2);
}
Colored shadow
.shadow-d227eb {
  box-shadow: 0 8px 24px rgb(210 39 235 / 0.35);
}

Electric Purple
#d227eb  rgb(210, 39, 235)  hsl(292, 83%, 54%)  Electric Purple
#40eb27  rgb(64, 235, 39)  hsl(112, 83%, 54%)  Neon Green
#ebd227  rgb(235, 210, 39)  hsl(52, 83%, 54%)  Citrine
#27ebd2  rgb(39, 235, 210)  hsl(172, 83%, 54%)  Turquoise