#C51FFD

#c51ffd ≈ Electric Purple

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

#c51ffd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 77.25% red, 12.16% green and 99.22% blue; printed in CMYK it uses 22.13% cyan, 87.75% magenta, 0% yellow and 0.78% black. Its hue angle is 284.86°, with 98.23% saturation and 55.69% 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 4.99:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.14.

Description generated from the measured properties of this color.

Conversions of #c51ffd 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.1994

Readable text 4.21:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.99:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #9e63be ≈ 0.001% of males
Protanopia #0073ff ≈ 1.01% of males
Deuteranopia #007ff9 ≈ 1.27% of males
Tritanopia #c05f97 ≈ 0.0001% of males
Protanomaly #705dff ≈ 1.08% of males
Deuteranomaly #8166fa ≈ 4.63% of males
Tritanomaly #c24dc8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c51ffd {
  color: #c51ffd;
}
Background
.bg-c51ffd {
  background-color: #c51ffd;
  color: #000000;
}
Border
.border-c51ffd {
  border: 2px solid #c51ffd;
}
CSS variables
:root {
  --color-primary: #c51ffd;
  --color-primary-rgb: 197 31 253;
  --color-primary-hsl: 285 98% 56%;
}
Gradient
.gradient-c51ffd {
  background: linear-gradient(135deg, #c51ffd, #fd1fc6);
}
Colored shadow
.shadow-c51ffd {
  box-shadow: 0 8px 24px rgb(197 31 253 / 0.35);
}

Electric Purple
#c51ffd  rgb(197, 31, 253)  hsl(285, 98%, 56%)  Electric Purple
#57fd1f  rgb(87, 253, 31)  hsl(105, 98%, 56%)  Harlequin
#fdc51f  rgb(253, 197, 31)  hsl(45, 98%, 56%)  Mikado Yellow
#1ffdc5  rgb(31, 253, 197)  hsl(165, 98%, 56%)  Aquamarine