#CF06F2

#cf06f2 ≈ Electric Purple

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

#cf06f2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 2.35% green and 94.9% blue; printed in CMYK it uses 14.46% cyan, 97.52% magenta, 0% yellow and 5.1% black. Its hue angle is 291.1°, with 95.16% saturation and 48.63% 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 4.96:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.48.

Description generated from the measured properties of this color.

Conversions of #cf06f2 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.1981

Readable text 4.23:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #a361b7 ≈ 0.001% of males
Protanopia #0070f7 ≈ 1.01% of males
Deuteranopia #2f81ee ≈ 1.27% of males
Tritanopia #cf528f ≈ 0.0001% of males
Protanomaly #7b58f5 ≈ 1.08% of males
Deuteranomaly #8d66ef ≈ 4.63% of males
Tritanomaly #cf40bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cf06f2 {
  color: #cf06f2;
}
Background
.bg-cf06f2 {
  background-color: #cf06f2;
  color: #000000;
}
Border
.border-cf06f2 {
  border: 2px solid #cf06f2;
}
CSS variables
:root {
  --color-primary: #cf06f2;
  --color-primary-rgb: 207 6 242;
  --color-primary-hsl: 291 95% 49%;
}
Gradient
.gradient-cf06f2 {
  background: linear-gradient(135deg, #cf06f2, #f2069f);
}
Colored shadow
.shadow-cf06f2 {
  box-shadow: 0 8px 24px rgb(207 6 242 / 0.35);
}

Electric Purple
#cf06f2  rgb(207, 6, 242)  hsl(291, 95%, 49%)  Electric Purple
#29f206  rgb(41, 242, 6)  hsl(111, 95%, 49%)  Lime
#f2cf06  rgb(242, 207, 6)  hsl(51, 95%, 49%)  Jonquil
#06f2cf  rgb(6, 242, 207)  hsl(171, 95%, 49%)  Aquamarine