#B797FD

#b797fd ≈ Floral Lavender

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

#b797fd is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 71.76% red, 59.22% green and 99.22% blue; printed in CMYK it uses 27.67% cyan, 40.32% magenta, 0% yellow and 0.78% black. Its hue angle is 258.82°, with 96.23% saturation and 79.22% 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.86:1 (WCAG AAA). The closest named color is Floral Lavender (#b57edc), ΔE 8.19.

Description generated from the measured properties of this color.

Conversions of #b797fd 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.3929

Readable text 2.37:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a8a8a8 ≈ 0.003% of males
Achromatomaly #aea2d0 ≈ 0.001% of males
Protanopia #7ba9ff ≈ 1.01% of males
Deuteranopia #80a7fa ≈ 1.27% of males
Tritanopia #a9a9be ≈ 0.0001% of males
Protanomaly #97a2ff ≈ 1.08% of males
Deuteranomaly #99a1fb ≈ 4.63% of males
Tritanomaly #afa2da ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b797fd {
  color: #b797fd;
}
Background
.bg-b797fd {
  background-color: #b797fd;
  color: #000000;
}
Border
.border-b797fd {
  border: 2px solid #b797fd;
}
CSS variables
:root {
  --color-primary: #b797fd;
  --color-primary-rgb: 183 151 253;
  --color-primary-hsl: 259 96% 79%;
}
Gradient
.gradient-b797fd {
  background: linear-gradient(135deg, #b797fd, #ea97fd);
}
Colored shadow
.shadow-b797fd {
  box-shadow: 0 8px 24px rgb(183 151 253 / 0.35);
}

Floral Lavender
#b797fd  rgb(183, 151, 253)  hsl(259, 96%, 79%)  Floral Lavender
#ddfd97  rgb(221, 253, 151)  hsl(79, 96%, 79%)  Pastel Yellow
#fdb797  rgb(253, 183, 151)  hsl(19, 96%, 79%)  Light Salmon
#97fdb7  rgb(151, 253, 183)  hsl(139, 96%, 79%)  Pale Green