#DB0CFB

#db0cfb ≈ Electric Purple

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

#db0cfb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 85.88% red, 4.71% green and 98.43% blue; printed in CMYK it uses 12.75% cyan, 95.22% magenta, 0% yellow and 1.57% black. Its hue angle is 291.97°, with 96.76% saturation and 51.57% 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.46:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.51.

Description generated from the measured properties of this color.

Conversions of #db0cfb 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.2229

Readable text 3.85:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.46:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #ad67bf ≈ 0.001% of males
Protanopia #0076ff ≈ 1.01% of males
Deuteranopia #3b88f7 ≈ 1.27% of males
Tritanopia #dc5595 ≈ 0.0001% of males
Protanomaly #845dfe ≈ 1.08% of males
Deuteranomaly #976cf8 ≈ 4.63% of males
Tritanomaly #dc43c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-db0cfb {
  color: #db0cfb;
}
Background
.bg-db0cfb {
  background-color: #db0cfb;
  color: #000000;
}
Border
.border-db0cfb {
  border: 2px solid #db0cfb;
}
CSS variables
:root {
  --color-primary: #db0cfb;
  --color-primary-rgb: 219 12 251;
  --color-primary-hsl: 292 97% 52%;
}
Gradient
.gradient-db0cfb {
  background: linear-gradient(135deg, #db0cfb, #fb0ca3);
}
Colored shadow
.shadow-db0cfb {
  box-shadow: 0 8px 24px rgb(219 12 251 / 0.35);
}

Electric Purple
#db0cfb  rgb(219, 12, 251)  hsl(292, 97%, 52%)  Electric Purple
#2cfb0c  rgb(44, 251, 12)  hsl(112, 97%, 52%)  Neon Green
#fbdb0c  rgb(251, 219, 12)  hsl(52, 97%, 52%)  Golden Yellow
#0cfbdb  rgb(12, 251, 219)  hsl(172, 97%, 52%)  Turquoise Blue