#D222FF

#d222ff ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

Conversions of #d222ff 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.2207

Readable text 3.88:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.41:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #a868c1 ≈ 0.001% of males
Protanopia #0077ff ≈ 1.01% of males
Deuteranopia #2986fb ≈ 1.27% of males
Tritanopia #d05e99 ≈ 0.0001% of males
Protanomaly #7d60ff ≈ 1.08% of males
Deuteranomaly #8e6cfc ≈ 4.63% of males
Tritanomaly #d14dca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#d222ff  rgb(210, 34, 255)  hsl(288, 100%, 57%)  Electric Purple
#4fff22  rgb(79, 255, 34)  hsl(108, 100%, 57%)  Harlequin
#ffd222  rgb(255, 210, 34)  hsl(48, 100%, 57%)  Cyber Yellow
#22ffd2  rgb(34, 255, 210)  hsl(168, 100%, 57%)  Aquamarine