#B98EF2

#b98ef2 ≈ Floral Lavender

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

#b98ef2 is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 72.55% red, 55.69% green and 94.9% blue; printed in CMYK it uses 23.55% cyan, 41.32% magenta, 0% yellow and 5.1% black. Its hue angle is 265.8°, with 79.37% saturation and 75.29% 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.21:1 (WCAG AAA). The closest named color is Floral Lavender (#b57edc), ΔE 5.18.

Description generated from the measured properties of this color.

Conversions of #b98ef2 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.3607

Readable text 2.56:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.21:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a2a2a2 ≈ 0.003% of males
Achromatomaly #ac9ac7 ≈ 0.001% of males
Protanopia #75a1f6 ≈ 1.01% of males
Deuteranopia #7ea2ef ≈ 1.27% of males
Tritanopia #af9fb4 ≈ 0.0001% of males
Protanomaly #959af4 ≈ 1.08% of males
Deuteranomaly #999af0 ≈ 4.63% of males
Tritanomaly #b398d0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b98ef2 {
  color: #b98ef2;
}
Background
.bg-b98ef2 {
  background-color: #b98ef2;
  color: #000000;
}
Border
.border-b98ef2 {
  border: 2px solid #b98ef2;
}
CSS variables
:root {
  --color-primary: #b98ef2;
  --color-primary-rgb: 185 142 242;
  --color-primary-hsl: 266 79% 75%;
}
Gradient
.gradient-b98ef2 {
  background: linear-gradient(135deg, #b98ef2, #eb8ef2);
}
Colored shadow
.shadow-b98ef2 {
  box-shadow: 0 8px 24px rgb(185 142 242 / 0.35);
}

Floral Lavender
#b98ef2  rgb(185, 142, 242)  hsl(266, 79%, 75%)  Floral Lavender
#c7f28e  rgb(199, 242, 142)  hsl(86, 79%, 75%)  Inchworm
#f2b98e  rgb(242, 185, 142)  hsl(26, 79%, 75%)  Tumbleweed
#8ef2b9  rgb(142, 242, 185)  hsl(146, 79%, 75%)  Aquamarine