#A798EF

#a798ef ≈ Floral Lavender

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

#a798ef is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 65.49% red, 59.61% green and 93.73% blue; printed in CMYK it uses 30.13% cyan, 36.4% magenta, 0% yellow and 6.27% black. Its hue angle is 250.34°, with 73.11% saturation and 76.67% 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.38:1 (WCAG AAA). The closest named color is Floral Lavender (#b57edc), ΔE 9.41.

Description generated from the measured properties of this color.

Conversions of #a798ef 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.369

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

Achromatopsia #a4a4a4 ≈ 0.003% of males
Achromatomaly #a59fc6 ≈ 0.001% of males
Protanopia #7fa5f2 ≈ 1.01% of males
Deuteranopia #80a2ed ≈ 1.27% of males
Tritanopia #96a8b8 ≈ 0.0001% of males
Protanomaly #91a0f1 ≈ 1.08% of males
Deuteranomaly #919eee ≈ 4.63% of males
Tritanomaly #9da2d0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a798ef {
  color: #a798ef;
}
Background
.bg-a798ef {
  background-color: #a798ef;
  color: #000000;
}
Border
.border-a798ef {
  border: 2px solid #a798ef;
}
CSS variables
:root {
  --color-primary: #a798ef;
  --color-primary-rgb: 167 152 239;
  --color-primary-hsl: 250 73% 77%;
}
Gradient
.gradient-a798ef {
  background: linear-gradient(135deg, #a798ef, #d298ef);
}
Colored shadow
.shadow-a798ef {
  box-shadow: 0 8px 24px rgb(167 152 239 / 0.35);
}

Floral Lavender
#a798ef  rgb(167, 152, 239)  hsl(250, 73%, 77%)  Floral Lavender
#e0ef98  rgb(224, 239, 152)  hsl(70, 73%, 77%)  Pastel Yellow
#efa798  rgb(239, 167, 152)  hsl(10, 73%, 77%)  Vivid Tangerine
#98efa7  rgb(152, 239, 167)  hsl(130, 73%, 77%)  Light Green