#B172E4

#b172e4 ≈ Floral Lavender

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

#b172e4 is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 69.41% red, 44.71% green and 89.41% blue; printed in CMYK it uses 22.37% cyan, 50% magenta, 0% yellow and 10.59% black. Its hue angle is 273.16°, with 67.86% saturation and 67.06% 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 brand accents. Black text on this color reaches a contrast ratio of 6.4:1 (WCAG AA). The closest named color is Floral Lavender (#b57edc), ΔE 3.83.

Description generated from the measured properties of this color.

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

Readable text 3.28:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.4:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8e8e8e ≈ 0.003% of males
Achromatomaly #9d84b7 ≈ 0.001% of males
Protanopia #528be8 ≈ 1.01% of males
Deuteranopia #658fe1 ≈ 1.27% of males
Tritanopia #aa86a1 ≈ 0.0001% of males
Protanomaly #8382e6 ≈ 1.08% of males
Deuteranomaly #8a84e2 ≈ 4.63% of males
Tritanomaly #ad7ebf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b172e4 {
  color: #b172e4;
}
Background
.bg-b172e4 {
  background-color: #b172e4;
  color: #000000;
}
Border
.border-b172e4 {
  border: 2px solid #b172e4;
}
CSS variables
:root {
  --color-primary: #b172e4;
  --color-primary-rgb: 177 114 228;
  --color-primary-hsl: 273 68% 67%;
}
Gradient
.gradient-b172e4 {
  background: linear-gradient(135deg, #b172e4, #e472de);
}
Colored shadow
.shadow-b172e4 {
  box-shadow: 0 8px 24px rgb(177 114 228 / 0.35);
}

Floral Lavender
#b172e4  rgb(177, 114, 228)  hsl(273, 68%, 67%)  Floral Lavender
#a5e472  rgb(165, 228, 114)  hsl(93, 68%, 67%)  Inchworm
#e4b172  rgb(228, 177, 114)  hsl(33, 68%, 67%)  Fawn
#72e4b1  rgb(114, 228, 177)  hsl(153, 68%, 67%)  Seafoam Green