#CB31EE

#cb31ee ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#cb31ee is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 19.22% green and 93.33% blue; printed in CMYK it uses 14.71% cyan, 79.41% magenta, 0% yellow and 6.67% black. Its hue angle is 288.89°, with 84.75% saturation and 56.27% 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.21:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.72.

Description generated from the measured properties of this color.

Conversions of #cb31ee 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.2107

Readable text 4.03:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.21:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #a368b6 ≈ 0.001% of males
Protanopia #0075f3 ≈ 1.01% of males
Deuteranopia #4083ea ≈ 1.27% of males
Tritanopia #cb5c91 ≈ 0.0001% of males
Protanomaly #7e61f1 ≈ 1.08% of males
Deuteranomaly #8e6cec ≈ 4.63% of males
Tritanomaly #cb4ebe ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cb31ee {
  color: #cb31ee;
}
Background
.bg-cb31ee {
  background-color: #cb31ee;
  color: #000000;
}
Border
.border-cb31ee {
  border: 2px solid #cb31ee;
}
CSS variables
:root {
  --color-primary: #cb31ee;
  --color-primary-rgb: 203 49 238;
  --color-primary-hsl: 289 85% 56%;
}
Gradient
.gradient-cb31ee {
  background: linear-gradient(135deg, #cb31ee, #ee31b2);
}
Colored shadow
.shadow-cb31ee {
  box-shadow: 0 8px 24px rgb(203 49 238 / 0.35);
}

Electric Purple
#cb31ee  rgb(203, 49, 238)  hsl(289, 85%, 56%)  Electric Purple
#54ee31  rgb(84, 238, 49)  hsl(109, 85%, 56%)  Neon Green
#eecb31  rgb(238, 203, 49)  hsl(49, 85%, 56%)  Jonquil
#31eecb  rgb(49, 238, 203)  hsl(169, 85%, 56%)  Turquoise