#CB27FF

#cb27ff ≈ Electric Purple

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

#cb27ff is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 15.29% green and 100% blue; printed in CMYK it uses 20.39% cyan, 84.71% magenta, 0% yellow and 0% black. Its hue angle is 285.56°, with 100% saturation and 57.65% 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.27:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.72.

Description generated from the measured properties of this color.

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

Readable text 3.98:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.27:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #a367c0 ≈ 0.001% of males
Protanopia #0077ff ≈ 1.01% of males
Deuteranopia #1883fb ≈ 1.27% of males
Tritanopia #c76199 ≈ 0.0001% of males
Protanomaly #7760ff ≈ 1.08% of males
Deuteranomaly #876afc ≈ 4.63% of males
Tritanomaly #c850ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cb27ff {
  color: #cb27ff;
}
Background
.bg-cb27ff {
  background-color: #cb27ff;
  color: #000000;
}
Border
.border-cb27ff {
  border: 2px solid #cb27ff;
}
CSS variables
:root {
  --color-primary: #cb27ff;
  --color-primary-rgb: 203 39 255;
  --color-primary-hsl: 286 100% 58%;
}
Gradient
.gradient-cb27ff {
  background: linear-gradient(135deg, #cb27ff, #ff27c7);
}
Colored shadow
.shadow-cb27ff {
  box-shadow: 0 8px 24px rgb(203 39 255 / 0.35);
}

Electric Purple
#cb27ff  rgb(203, 39, 255)  hsl(286, 100%, 58%)  Electric Purple
#5bff27  rgb(91, 255, 39)  hsl(106, 100%, 58%)  Harlequin
#ffcb27  rgb(255, 203, 39)  hsl(46, 100%, 58%)  Sunglow
#27ffcb  rgb(39, 255, 203)  hsl(166, 100%, 58%)  Aquamarine