#CD1DF2

#cd1df2 ≈ Electric Purple

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

#cd1df2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 11.37% green and 94.9% blue; printed in CMYK it uses 15.29% cyan, 88.02% magenta, 0% yellow and 5.1% black. Its hue angle is 289.58°, with 89.12% saturation and 53.14% 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.05:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.67.

Description generated from the measured properties of this color.

Conversions of #cd1df2 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.2027

Readable text 4.16:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.05:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #a364b8 ≈ 0.001% of males
Protanopia #0072f7 ≈ 1.01% of males
Deuteranopia #3281ee ≈ 1.27% of males
Tritanopia #cc5791 ≈ 0.0001% of males
Protanomaly #7b5bf5 ≈ 1.08% of males
Deuteranomaly #8c68f0 ≈ 4.63% of males
Tritanomaly #cd46bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd1df2 {
  color: #cd1df2;
}
Background
.bg-cd1df2 {
  background-color: #cd1df2;
  color: #000000;
}
Border
.border-cd1df2 {
  border: 2px solid #cd1df2;
}
CSS variables
:root {
  --color-primary: #cd1df2;
  --color-primary-rgb: 205 29 242;
  --color-primary-hsl: 290 89% 53%;
}
Gradient
.gradient-cd1df2 {
  background: linear-gradient(135deg, #cd1df2, #f21dac);
}
Colored shadow
.shadow-cd1df2 {
  box-shadow: 0 8px 24px rgb(205 29 242 / 0.35);
}

Electric Purple
#cd1df2  rgb(205, 29, 242)  hsl(290, 89%, 53%)  Electric Purple
#42f21d  rgb(66, 242, 29)  hsl(110, 89%, 53%)  Neon Green
#f2cd1d  rgb(242, 205, 29)  hsl(50, 89%, 53%)  Jonquil
#1df2cd  rgb(29, 242, 205)  hsl(170, 89%, 53%)  Aquamarine