#CF0FFA

#cf0ffa ≈ Electric Purple

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

#cf0ffa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 5.88% green and 98.04% blue; printed in CMYK it uses 17.2% cyan, 94% magenta, 0% yellow and 1.96% black. Its hue angle is 289.02°, with 95.92% saturation and 51.96% 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.1:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.32.

Description generated from the measured properties of this color.

Conversions of #cf0ffa 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.2051

Readable text 4.12:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.1:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #a463bc ≈ 0.001% of males
Protanopia #0073ff ≈ 1.01% of males
Deuteranopia #2182f6 ≈ 1.27% of males
Tritanopia #cd5894 ≈ 0.0001% of males
Protanomaly #795bfd ≈ 1.08% of males
Deuteranomaly #8b67f7 ≈ 4.63% of males
Tritanomaly #ce45c5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cf0ffa {
  color: #cf0ffa;
}
Background
.bg-cf0ffa {
  background-color: #cf0ffa;
  color: #000000;
}
Border
.border-cf0ffa {
  border: 2px solid #cf0ffa;
}
CSS variables
:root {
  --color-primary: #cf0ffa;
  --color-primary-rgb: 207 15 250;
  --color-primary-hsl: 289 96% 52%;
}
Gradient
.gradient-cf0ffa {
  background: linear-gradient(135deg, #cf0ffa, #fa0fb0);
}
Colored shadow
.shadow-cf0ffa {
  box-shadow: 0 8px 24px rgb(207 15 250 / 0.35);
}

Electric Purple
#cf0ffa  rgb(207, 15, 250)  hsl(289, 96%, 52%)  Electric Purple
#3afa0f  rgb(58, 250, 15)  hsl(109, 96%, 52%)  Neon Green
#facf0f  rgb(250, 207, 15)  hsl(49, 96%, 52%)  Cyber Yellow
#0ffacf  rgb(15, 250, 207)  hsl(169, 96%, 52%)  Aquamarine