#CB0FD2

#cb0fd2 ≈ Electric Purple

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

#cb0fd2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 5.88% green and 82.35% blue; printed in CMYK it uses 3.33% cyan, 92.86% magenta, 0% yellow and 17.65% black. Its hue angle is 297.85°, with 86.67% saturation and 44.12% 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.63:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.6.

Description generated from the measured properties of this color.

Conversions of #cb0fd2 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.1769

Readable text 4.63:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.54:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #9f5ca3 ≈ 0.001% of males
Protanopia #0067d6 ≈ 1.01% of males
Deuteranopia #4e7cce ≈ 1.27% of males
Tritanopia #d1417c ≈ 0.0001% of males
Protanomaly #8052d5 ≈ 1.08% of males
Deuteranomaly #9162d0 ≈ 4.63% of males
Tritanomaly #ce33a6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cb0fd2 {
  color: #cb0fd2;
}
Background
.bg-cb0fd2 {
  background-color: #cb0fd2;
  color: #ffffff;
}
Border
.border-cb0fd2 {
  border: 2px solid #cb0fd2;
}
CSS variables
:root {
  --color-primary: #cb0fd2;
  --color-primary-rgb: 203 15 210;
  --color-primary-hsl: 298 87% 44%;
}
Gradient
.gradient-cb0fd2 {
  background: linear-gradient(135deg, #cb0fd2, #d20f77);
}
Colored shadow
.shadow-cb0fd2 {
  box-shadow: 0 8px 24px rgb(203 15 210 / 0.35);
}

Electric Purple
#cb0fd2  rgb(203, 15, 210)  hsl(298, 87%, 44%)  Electric Purple
#16d20f  rgb(22, 210, 15)  hsl(118, 87%, 44%)  Lime Green
#d2cb0f  rgb(210, 203, 15)  hsl(58, 87%, 44%)  Citrine
#0fd2cb  rgb(15, 210, 203)  hsl(178, 87%, 44%)  Medium Turquoise