#BA5FF2

#ba5ff2 ≈ Medium Orchid

  • violet
  • Lightness: high
  • Saturation: strong
  • Cool

#ba5ff2 is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 72.94% red, 37.25% green and 94.9% blue; printed in CMYK it uses 23.14% cyan, 60.74% magenta, 0% yellow and 5.1% black. Its hue angle is 277.14°, with 84.97% saturation and 66.08% 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 6.01:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 5.34.

Description generated from the measured properties of this color.

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

Readable text 3.5:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.01:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #898989 ≈ 0.003% of males
Achromatomaly #9f7abc ≈ 0.001% of males
Protanopia #1e85f7 ≈ 1.01% of males
Deuteranopia #4e8bef ≈ 1.27% of males
Tritanopia #b37ba0 ≈ 0.0001% of males
Protanomaly #7d78f5 ≈ 1.08% of males
Deuteranomaly #877bf0 ≈ 4.63% of males
Tritanomaly #b671c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba5ff2 {
  color: #ba5ff2;
}
Background
.bg-ba5ff2 {
  background-color: #ba5ff2;
  color: #000000;
}
Border
.border-ba5ff2 {
  border: 2px solid #ba5ff2;
}
CSS variables
:root {
  --color-primary: #ba5ff2;
  --color-primary-rgb: 186 95 242;
  --color-primary-hsl: 277 85% 66%;
}
Gradient
.gradient-ba5ff2 {
  background: linear-gradient(135deg, #ba5ff2, #f25fe1);
}
Colored shadow
.shadow-ba5ff2 {
  box-shadow: 0 8px 24px rgb(186 95 242 / 0.35);
}

Medium Orchid
#ba5ff2  rgb(186, 95, 242)  hsl(277, 85%, 66%)  Medium Orchid
#97f25f  rgb(151, 242, 95)  hsl(97, 85%, 66%)  Inchworm
#f2ba5f  rgb(242, 186, 95)  hsl(37, 85%, 66%)  Topaz
#5ff2ba  rgb(95, 242, 186)  hsl(157, 85%, 66%)  Aquamarine