#B402EA

#b402ea ≈ Electric Purple

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

#b402ea is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.59% red, 0.78% green and 91.76% blue; printed in CMYK it uses 23.08% cyan, 99.15% magenta, 0% yellow and 8.24% black. Its hue angle is 286.03°, with 98.31% saturation and 46.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. White text on this color reaches a contrast ratio of 5.08:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.56.

Description generated from the measured properties of this color.

Conversions of #b402ea 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.1569

Readable text 5.08:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.14:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #8f57ae ≈ 0.001% of males
Protanopia #0067ef ≈ 1.01% of males
Deuteranopia #0072e6 ≈ 1.27% of males
Tritanopia #ae538a ≈ 0.0001% of males
Protanomaly #6350ed ≈ 1.08% of males
Deuteranomaly #7359e8 ≈ 4.63% of males
Tritanomaly #b140b8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b402ea {
  color: #b402ea;
}
Background
.bg-b402ea {
  background-color: #b402ea;
  color: #ffffff;
}
Border
.border-b402ea {
  border: 2px solid #b402ea;
}
CSS variables
:root {
  --color-primary: #b402ea;
  --color-primary-rgb: 180 2 234;
  --color-primary-hsl: 286 98% 46%;
}
Gradient
.gradient-b402ea {
  background: linear-gradient(135deg, #b402ea, #ea02ac);
}
Colored shadow
.shadow-b402ea {
  box-shadow: 0 8px 24px rgb(180 2 234 / 0.35);
}

Electric Purple
#b402ea  rgb(180, 2, 234)  hsl(286, 98%, 46%)  Electric Purple
#38ea02  rgb(56, 234, 2)  hsl(106, 98%, 46%)  Neon Green
#eab402  rgb(234, 180, 2)  hsl(46, 98%, 46%)  Meat Brown
#02eab4  rgb(2, 234, 180)  hsl(166, 98%, 46%)  Caribbean Green