#AB97EC

#ab97ec ≈ Floral Lavender

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

#ab97ec 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 92.55% blue; printed in CMYK it uses 27.54% cyan, 36.02% magenta, 0% yellow and 7.45% black. Its hue angle is 254.12°, with 69.11% saturation and 75.88% 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.37:1 (WCAG AAA). The closest named color is Floral Lavender (#b57edc), ΔE 8.36.

Description generated from the measured properties of this color.

Conversions of #ab97ec 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.3685

Readable text 2.51:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.37:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a3a3a3 ≈ 0.003% of males
Achromatomaly #a79fc5 ≈ 0.001% of males
Protanopia #80a4ef ≈ 1.01% of males
Deuteranopia #82a2ea ≈ 1.27% of males
Tritanopia #9da6b7 ≈ 0.0001% of males
Protanomaly #939fee ≈ 1.08% of males
Deuteranomaly #949eeb ≈ 4.63% of males
Tritanomaly #a3a0ce ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ab97ec {
  color: #ab97ec;
}
Background
.bg-ab97ec {
  background-color: #ab97ec;
  color: #000000;
}
Border
.border-ab97ec {
  border: 2px solid #ab97ec;
}
CSS variables
:root {
  --color-primary: #ab97ec;
  --color-primary-rgb: 171 151 236;
  --color-primary-hsl: 254 69% 76%;
}
Gradient
.gradient-ab97ec {
  background: linear-gradient(135deg, #ab97ec, #d697ec);
}
Colored shadow
.shadow-ab97ec {
  box-shadow: 0 8px 24px rgb(171 151 236 / 0.35);
}

Floral Lavender
#ab97ec  rgb(171, 151, 236)  hsl(254, 69%, 76%)  Floral Lavender
#d8ec97  rgb(216, 236, 151)  hsl(74, 69%, 76%)  Pastel Yellow
#ecab97  rgb(236, 171, 151)  hsl(14, 69%, 76%)  Vivid Tangerine
#97ecab  rgb(151, 236, 171)  hsl(134, 69%, 76%)  Granny Smith Apple