#CB04D3

#cb04d3 ≈ Electric Purple

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

#cb04d3 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 82.75% blue; printed in CMYK it uses 3.79% cyan, 98.1% magenta, 0% yellow and 17.25% black. Its hue angle is 297.68°, with 96.28% saturation and 42.16% 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. White text on this color reaches a contrast ratio of 4.67:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.44.

Description generated from the measured properties of this color.

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

Readable text 4.67:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.5:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #9e5ba3 ≈ 0.001% of males
Protanopia #0066d7 ≈ 1.01% of males
Deuteranopia #4c7bcf ≈ 1.27% of males
Tritanopia #d03f7c ≈ 0.0001% of males
Protanomaly #8050d6 ≈ 1.08% of males
Deuteranomaly #9161d1 ≈ 4.63% of males
Tritanomaly #ce31a6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cb04d3 {
  color: #cb04d3;
}
Background
.bg-cb04d3 {
  background-color: #cb04d3;
  color: #ffffff;
}
Border
.border-cb04d3 {
  border: 2px solid #cb04d3;
}
CSS variables
:root {
  --color-primary: #cb04d3;
  --color-primary-rgb: 203 4 211;
  --color-primary-hsl: 298 96% 42%;
}
Gradient
.gradient-cb04d3 {
  background: linear-gradient(135deg, #cb04d3, #d30474);
}
Colored shadow
.shadow-cb04d3 {
  box-shadow: 0 8px 24px rgb(203 4 211 / 0.35);
}

Electric Purple
#cb04d3  rgb(203, 4, 211)  hsl(298, 96%, 42%)  Electric Purple
#0cd304  rgb(12, 211, 4)  hsl(118, 96%, 42%)  Lime Green
#d3cb04  rgb(211, 203, 4)  hsl(58, 96%, 42%)  Citrine
#04d3cb  rgb(4, 211, 203)  hsl(178, 96%, 42%)  Medium Turquoise