#AB97FB

#ab97fb ≈ Floral Lavender

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

#ab97fb is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 67.06% red, 59.22% green and 98.43% blue; printed in CMYK it uses 31.87% cyan, 39.84% magenta, 0% yellow and 1.57% black. Its hue angle is 252°, with 92.59% saturation and 78.82% 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.55:1 (WCAG AAA). The closest named color is Floral Lavender (#b57edc), ΔE 9.38.

Description generated from the measured properties of this color.

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

Readable text 2.46:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.55:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a5a5a5 ≈ 0.003% of males
Achromatomaly #a8a0cd ≈ 0.001% of males
Protanopia #79a7ff ≈ 1.01% of males
Deuteranopia #7aa3f9 ≈ 1.27% of males
Tritanopia #98a9bd ≈ 0.0001% of males
Protanomaly #90a1fd ≈ 1.08% of males
Deuteranomaly #909ffa ≈ 4.63% of males
Tritanomaly #a0a2d9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ab97fb {
  color: #ab97fb;
}
Background
.bg-ab97fb {
  background-color: #ab97fb;
  color: #000000;
}
Border
.border-ab97fb {
  border: 2px solid #ab97fb;
}
CSS variables
:root {
  --color-primary: #ab97fb;
  --color-primary-rgb: 171 151 251;
  --color-primary-hsl: 252 93% 79%;
}
Gradient
.gradient-ab97fb {
  background: linear-gradient(135deg, #ab97fb, #dd97fb);
}
Colored shadow
.shadow-ab97fb {
  box-shadow: 0 8px 24px rgb(171 151 251 / 0.35);
}

Floral Lavender
#ab97fb  rgb(171, 151, 251)  hsl(252, 93%, 79%)  Floral Lavender
#e7fb97  rgb(231, 251, 151)  hsl(72, 93%, 79%)  Pastel Yellow
#fbab97  rgb(251, 171, 151)  hsl(12, 93%, 79%)  Vivid Tangerine
#97fbab  rgb(151, 251, 171)  hsl(132, 93%, 79%)  Pale Green