#CD12FC

#cd12fc ≈ Electric Purple

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

#cd12fc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 7.06% green and 98.82% blue; printed in CMYK it uses 18.65% cyan, 92.86% magenta, 0% yellow and 1.18% black. Its hue angle is 287.95°, with 97.5% saturation and 52.94% 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.09:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.

Description generated from the measured properties of this color.

Conversions of #cd12fc into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc00ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2044

Readable text 4.13:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.09:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #a363be ≈ 0.001% of males
Protanopia #0073ff ≈ 1.01% of males
Deuteranopia #1581f8 ≈ 1.27% of males
Tritanopia #ca5a96 ≈ 0.0001% of males
Protanomaly #775bff ≈ 1.08% of males
Deuteranomaly #8967f9 ≈ 4.63% of males
Tritanomaly #cb47c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd12fc {
  color: #cd12fc;
}
Background
.bg-cd12fc {
  background-color: #cd12fc;
  color: #000000;
}
Border
.border-cd12fc {
  border: 2px solid #cd12fc;
}
CSS variables
:root {
  --color-primary: #cd12fc;
  --color-primary-rgb: 205 18 252;
  --color-primary-hsl: 288 98% 53%;
}
Gradient
.gradient-cd12fc {
  background: linear-gradient(135deg, #cd12fc, #fc12b6);
}
Colored shadow
.shadow-cd12fc {
  box-shadow: 0 8px 24px rgb(205 18 252 / 0.35);
}

Electric Purple
#cd12fc  rgb(205, 18, 252)  hsl(288, 98%, 53%)  Electric Purple
#41fc12  rgb(65, 252, 18)  hsl(108, 98%, 53%)  Neon Green
#fccd12  rgb(252, 205, 18)  hsl(48, 98%, 53%)  Jonquil
#12fccd  rgb(18, 252, 205)  hsl(168, 98%, 53%)  Aquamarine