#BA42E4

#ba42e4 ≈ Medium Orchid

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Cool

#ba42e4 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 25.88% green and 89.41% blue; printed in CMYK it uses 18.42% cyan, 71.05% magenta, 0% yellow and 10.59% black. Its hue angle is 284.44°, with 75% saturation and 57.65% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. Black text on this color reaches a contrast ratio of 4.99:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 4.14.

Description generated from the measured properties of this color.

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

Readable text 4.21:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.99:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #9869af ≈ 0.001% of males
Protanopia #0074e9 ≈ 1.01% of males
Deuteranopia #3f7fe0 ≈ 1.27% of males
Tritanopia #b7648f ≈ 0.0001% of males
Protanomaly #7664e7 ≈ 1.08% of males
Deuteranomaly #836be2 ≈ 4.63% of males
Tritanomaly #b858b7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba42e4 {
  color: #ba42e4;
}
Background
.bg-ba42e4 {
  background-color: #ba42e4;
  color: #000000;
}
Border
.border-ba42e4 {
  border: 2px solid #ba42e4;
}
CSS variables
:root {
  --color-primary: #ba42e4;
  --color-primary-rgb: 186 66 228;
  --color-primary-hsl: 284 75% 58%;
}
Gradient
.gradient-ba42e4 {
  background: linear-gradient(135deg, #ba42e4, #e442bd);
}
Colored shadow
.shadow-ba42e4 {
  box-shadow: 0 8px 24px rgb(186 66 228 / 0.35);
}

Medium Orchid
#ba42e4  rgb(186, 66, 228)  hsl(284, 75%, 58%)  Medium Orchid
#6ce442  rgb(108, 228, 66)  hsl(104, 75%, 58%)  Malachite
#e4ba42  rgb(228, 186, 66)  hsl(44, 75%, 58%)  Meat Brown
#42e4ba  rgb(66, 228, 186)  hsl(164, 75%, 58%)  Medium Aquamarine