#BA97EF

#ba97ef ≈ Floral Lavender

  • violet
  • Lightness: high
  • Saturation: moderate
  • Cool

#ba97ef is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 72.94% red, 59.22% green and 93.73% blue; printed in CMYK it uses 22.18% cyan, 36.82% magenta, 0% yellow and 6.27% black. Its hue angle is 263.86°, with 73.33% saturation and 76.47% 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 soft pastel palettes. Black text on this color reaches a contrast ratio of 8.76:1 (WCAG AAA). The closest named color is Floral Lavender (#b57edc), ΔE 6.95.

Description generated from the measured properties of this color.

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

Readable text 2.4:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a7a7a7 ≈ 0.003% of males
Achromatomaly #afa1c8 ≈ 0.001% of males
Protanopia #82a7f2 ≈ 1.01% of males
Deuteranopia #89a7ed ≈ 1.27% of males
Tritanopia #b1a5b8 ≈ 0.0001% of males
Protanomaly #9ca1f1 ≈ 1.08% of males
Deuteranomaly #9fa1ee ≈ 4.63% of males
Tritanomaly #b5a0d0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba97ef {
  color: #ba97ef;
}
Background
.bg-ba97ef {
  background-color: #ba97ef;
  color: #000000;
}
Border
.border-ba97ef {
  border: 2px solid #ba97ef;
}
CSS variables
:root {
  --color-primary: #ba97ef;
  --color-primary-rgb: 186 151 239;
  --color-primary-hsl: 264 73% 76%;
}
Gradient
.gradient-ba97ef {
  background: linear-gradient(135deg, #ba97ef, #e697ef);
}
Colored shadow
.shadow-ba97ef {
  box-shadow: 0 8px 24px rgb(186 151 239 / 0.35);
}

Floral Lavender
#ba97ef  rgb(186, 151, 239)  hsl(264, 73%, 76%)  Floral Lavender
#ccef97  rgb(204, 239, 151)  hsl(84, 73%, 76%)  Granny Smith Apple
#efba97  rgb(239, 186, 151)  hsl(24, 73%, 76%)  Tumbleweed
#97efba  rgb(151, 239, 186)  hsl(144, 73%, 76%)  Seafoam Green