#BA38FC

#ba38fc ≈ Electric Purple

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#ba38fc is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 21.96% green and 98.82% blue; printed in CMYK it uses 26.19% cyan, 77.78% magenta, 0% yellow and 1.18% black. Its hue angle is 279.8°, with 97.03% saturation and 60.39% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. 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.06:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.23.

Description generated from the measured properties of this color.

Conversions of #ba38fc 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.203

Readable text 4.15:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.06:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #9968bd ≈ 0.001% of males
Protanopia #0077ff ≈ 1.01% of males
Deuteranopia #007ef8 ≈ 1.27% of males
Tritanopia #b1699b ≈ 0.0001% of males
Protanomaly #6b64ff ≈ 1.08% of males
Deuteranomaly #7969fa ≈ 4.63% of males
Tritanomaly #b559c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba38fc {
  color: #ba38fc;
}
Background
.bg-ba38fc {
  background-color: #ba38fc;
  color: #000000;
}
Border
.border-ba38fc {
  border: 2px solid #ba38fc;
}
CSS variables
:root {
  --color-primary: #ba38fc;
  --color-primary-rgb: 186 56 252;
  --color-primary-hsl: 280 97% 60%;
}
Gradient
.gradient-ba38fc {
  background: linear-gradient(135deg, #ba38fc, #fc38dc);
}
Colored shadow
.shadow-ba38fc {
  box-shadow: 0 8px 24px rgb(186 56 252 / 0.35);
}

Electric Purple
#ba38fc  rgb(186, 56, 252)  hsl(280, 97%, 60%)  Electric Purple
#7afc38  rgb(122, 252, 56)  hsl(100, 97%, 60%)  Lawn Green
#fcba38  rgb(252, 186, 56)  hsl(40, 97%, 60%)  Amber
#38fcba  rgb(56, 252, 186)  hsl(160, 97%, 60%)  Medium Spring Green