#CB04F7

#cb04f7 ≈ Electric Purple

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

#cb04f7 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 1.57% green and 96.86% blue; printed in CMYK it uses 17.81% cyan, 98.38% magenta, 0% yellow and 3.14% black. Its hue angle is 289.14°, with 96.81% saturation and 49.22% 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.9:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.48.

Description generated from the measured properties of this color.

Conversions of #cb04f7 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.195

Readable text 4.29:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.9:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #a160ba ≈ 0.001% of males
Protanopia #0070fc ≈ 1.01% of males
Deuteranopia #177ff3 ≈ 1.27% of males
Tritanopia #c95592 ≈ 0.0001% of males
Protanomaly #7658fa ≈ 1.08% of males
Deuteranomaly #8764f4 ≈ 4.63% of males
Tritanomaly #ca43c3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cb04f7 {
  color: #cb04f7;
}
Background
.bg-cb04f7 {
  background-color: #cb04f7;
  color: #000000;
}
Border
.border-cb04f7 {
  border: 2px solid #cb04f7;
}
CSS variables
:root {
  --color-primary: #cb04f7;
  --color-primary-rgb: 203 4 247;
  --color-primary-hsl: 289 97% 49%;
}
Gradient
.gradient-cb04f7 {
  background: linear-gradient(135deg, #cb04f7, #f704a9);
}
Colored shadow
.shadow-cb04f7 {
  box-shadow: 0 8px 24px rgb(203 4 247 / 0.35);
}

Electric Purple
#cb04f7  rgb(203, 4, 247)  hsl(289, 97%, 49%)  Electric Purple
#30f704  rgb(48, 247, 4)  hsl(109, 97%, 49%)  Neon Green
#f7cb04  rgb(247, 203, 4)  hsl(49, 97%, 49%)  Jonquil
#04f7cb  rgb(4, 247, 203)  hsl(169, 97%, 49%)  Aquamarine