#CB0AFA

#cb0afa ≈ Electric Purple

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

#cb0afa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.61% red, 3.92% green and 98.04% blue; printed in CMYK it uses 18.8% cyan, 96% magenta, 0% yellow and 1.96% black. Its hue angle is 288.25°, with 96% saturation and 50.98% 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 4.96:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.47.

Description generated from the measured properties of this color.

Conversions of #cb0afa 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.1982

Readable text 4.23:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #a161bc ≈ 0.001% of males
Protanopia #0071ff ≈ 1.01% of males
Deuteranopia #0d80f6 ≈ 1.27% of males
Tritanopia #c85894 ≈ 0.0001% of males
Protanomaly #7559fd ≈ 1.08% of males
Deuteranomaly #8765f7 ≈ 4.63% of males
Tritanomaly #c945c5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cb0afa {
  color: #cb0afa;
}
Background
.bg-cb0afa {
  background-color: #cb0afa;
  color: #000000;
}
Border
.border-cb0afa {
  border: 2px solid #cb0afa;
}
CSS variables
:root {
  --color-primary: #cb0afa;
  --color-primary-rgb: 203 10 250;
  --color-primary-hsl: 288 96% 51%;
}
Gradient
.gradient-cb0afa {
  background: linear-gradient(135deg, #cb0afa, #fa0ab1);
}
Colored shadow
.shadow-cb0afa {
  box-shadow: 0 8px 24px rgb(203 10 250 / 0.35);
}

Electric Purple
#cb0afa  rgb(203, 10, 250)  hsl(288, 96%, 51%)  Electric Purple
#39fa0a  rgb(57, 250, 10)  hsl(108, 96%, 51%)  Neon Green
#facb0a  rgb(250, 203, 10)  hsl(48, 96%, 51%)  Jonquil
#0afacb  rgb(10, 250, 203)  hsl(168, 96%, 51%)  Aquamarine