#CD2FF8

#cd2ff8 ≈ Electric Purple

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

#cd2ff8 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 18.43% green and 97.25% blue; printed in CMYK it uses 17.34% cyan, 81.05% magenta, 0% yellow and 2.75% black. Its hue angle is 287.16°, with 93.49% saturation and 57.84% 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.36: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 #cd2ff8 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.2179

Readable text 3.92:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.36:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #a569bd ≈ 0.001% of males
Protanopia #0077fd ≈ 1.01% of males
Deuteranopia #3485f4 ≈ 1.27% of males
Tritanopia #cb6097 ≈ 0.0001% of males
Protanomaly #7c62fb ≈ 1.08% of males
Deuteranomaly #8d6df6 ≈ 4.63% of males
Tritanomaly #cc51c5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd2ff8 {
  color: #cd2ff8;
}
Background
.bg-cd2ff8 {
  background-color: #cd2ff8;
  color: #000000;
}
Border
.border-cd2ff8 {
  border: 2px solid #cd2ff8;
}
CSS variables
:root {
  --color-primary: #cd2ff8;
  --color-primary-rgb: 205 47 248;
  --color-primary-hsl: 287 93% 58%;
}
Gradient
.gradient-cd2ff8 {
  background: linear-gradient(135deg, #cd2ff8, #f82fbf);
}
Colored shadow
.shadow-cd2ff8 {
  box-shadow: 0 8px 24px rgb(205 47 248 / 0.35);
}

Electric Purple
#cd2ff8  rgb(205, 47, 248)  hsl(287, 93%, 58%)  Electric Purple
#5af82f  rgb(90, 248, 47)  hsl(107, 93%, 58%)  Neon Green
#f8cd2f  rgb(248, 205, 47)  hsl(47, 93%, 58%)  Jonquil
#2ff8cd  rgb(47, 248, 205)  hsl(167, 93%, 58%)  Aquamarine