#C22DFB

#c22dfb ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Cool

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

Description generated from the measured properties of this color.

Conversions of #c22dfb 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.2031

Readable text 4.15:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.06:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #9d66bd ≈ 0.001% of males
Protanopia #0075ff ≈ 1.01% of males
Deuteranopia #0380f7 ≈ 1.27% of males
Tritanopia #bc6398 ≈ 0.0001% of males
Protanomaly #7060fe ≈ 1.08% of males
Deuteranomaly #8068f9 ≈ 4.63% of males
Tritanomaly #be52c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#c22dfb  rgb(194, 45, 251)  hsl(283, 96%, 58%)  Electric Purple
#66fb2d  rgb(102, 251, 45)  hsl(103, 96%, 58%)  Harlequin
#fbc22d  rgb(251, 194, 45)  hsl(43, 96%, 58%)  Mikado Yellow
#2dfbc2  rgb(45, 251, 194)  hsl(163, 96%, 58%)  Aquamarine