#D22AFF

#d22aff ≈ Electric Purple

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

#d22aff is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 16.47% green and 100% blue; printed in CMYK it uses 17.65% cyan, 83.53% magenta, 0% yellow and 0% black. Its hue angle is 287.32°, with 100% saturation and 58.24% 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.52:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.11.

Description generated from the measured properties of this color.

Conversions of #d22aff 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.2258

Readable text 3.81:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #838383 ≈ 0.003% of males
Achromatomaly #a86ac1 ≈ 0.001% of males
Protanopia #0079ff ≈ 1.01% of males
Deuteranopia #2f87fb ≈ 1.27% of males
Tritanopia #d0619a ≈ 0.0001% of males
Protanomaly #7e63ff ≈ 1.08% of males
Deuteranomaly #8f6efc ≈ 4.63% of males
Tritanomaly #d150ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d22aff {
  color: #d22aff;
}
Background
.bg-d22aff {
  background-color: #d22aff;
  color: #000000;
}
Border
.border-d22aff {
  border: 2px solid #d22aff;
}
CSS variables
:root {
  --color-primary: #d22aff;
  --color-primary-rgb: 210 42 255;
  --color-primary-hsl: 287 100% 58%;
}
Gradient
.gradient-d22aff {
  background: linear-gradient(135deg, #d22aff, #ff2ac2);
}
Colored shadow
.shadow-d22aff {
  box-shadow: 0 8px 24px rgb(210 42 255 / 0.35);
}

Electric Purple
#d22aff  rgb(210, 42, 255)  hsl(287, 100%, 58%)  Electric Purple
#57ff2a  rgb(87, 255, 42)  hsl(107, 100%, 58%)  Harlequin
#ffd22a  rgb(255, 210, 42)  hsl(47, 100%, 58%)  Cyber Yellow
#2affd2  rgb(42, 255, 210)  hsl(167, 100%, 58%)  Aquamarine