#DC0CEB

#dc0ceb ≈ Electric Purple

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

#dc0ceb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 4.71% green and 92.16% blue; printed in CMYK it uses 6.38% cyan, 94.89% magenta, 0% yellow and 7.84% black. Its hue angle is 295.96°, with 90.28% saturation and 48.43% 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.3:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.3.

Description generated from the measured properties of this color.

Conversions of #dc0ceb 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.2148

Readable text 3.97:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.3:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #ac65b5 ≈ 0.001% of males
Protanopia #0072f0 ≈ 1.01% of males
Deuteranopia #4e87e7 ≈ 1.27% of males
Tritanopia #e14b8b ≈ 0.0001% of males
Protanomaly #895aee ≈ 1.08% of males
Deuteranomaly #9c6be8 ≈ 4.63% of males
Tritanomaly #df3bb9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dc0ceb {
  color: #dc0ceb;
}
Background
.bg-dc0ceb {
  background-color: #dc0ceb;
  color: #000000;
}
Border
.border-dc0ceb {
  border: 2px solid #dc0ceb;
}
CSS variables
:root {
  --color-primary: #dc0ceb;
  --color-primary-rgb: 220 12 235;
  --color-primary-hsl: 296 90% 48%;
}
Gradient
.gradient-dc0ceb {
  background: linear-gradient(135deg, #dc0ceb, #eb0c8b);
}
Colored shadow
.shadow-dc0ceb {
  box-shadow: 0 8px 24px rgb(220 12 235 / 0.35);
}

Electric Purple
#dc0ceb  rgb(220, 12, 235)  hsl(296, 90%, 48%)  Electric Purple
#1beb0c  rgb(27, 235, 12)  hsl(116, 90%, 48%)  Lime
#ebdc0c  rgb(235, 220, 12)  hsl(56, 90%, 48%)  Dandelion
#0cebdc  rgb(12, 235, 220)  hsl(176, 90%, 48%)  Bright Turquoise