#B166FA

#b166fa ≈ Medium Purple

  • violet
  • Lightness: high
  • Saturation: strong
  • Cool

#b166fa is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 69.41% red, 40% green and 98.04% blue; printed in CMYK it uses 29.2% cyan, 59.2% magenta, 0% yellow and 1.96% black. Its hue angle is 270.41°, with 93.67% saturation and 69.02% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 6.15:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 6.78.

Description generated from the measured properties of this color.

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

Readable text 3.41:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.15:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8b8b8b ≈ 0.003% of males
Achromatomaly #9c7ec2 ≈ 0.001% of males
Protanopia #1b89ff ≈ 1.01% of males
Deuteranopia #448bf7 ≈ 1.27% of males
Tritanopia #a484a7 ≈ 0.0001% of males
Protanomaly #767cfd ≈ 1.08% of males
Deuteranomaly #7f7ef8 ≈ 4.63% of males
Tritanomaly #a979cd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b166fa {
  color: #b166fa;
}
Background
.bg-b166fa {
  background-color: #b166fa;
  color: #000000;
}
Border
.border-b166fa {
  border: 2px solid #b166fa;
}
CSS variables
:root {
  --color-primary: #b166fa;
  --color-primary-rgb: 177 102 250;
  --color-primary-hsl: 270 94% 69%;
}
Gradient
.gradient-b166fa {
  background: linear-gradient(135deg, #b166fa, #fa66f9);
}
Colored shadow
.shadow-b166fa {
  box-shadow: 0 8px 24px rgb(177 102 250 / 0.35);
}

Medium Purple
#b166fa  rgb(177, 102, 250)  hsl(270, 94%, 69%)  Medium Purple
#affa66  rgb(175, 250, 102)  hsl(90, 94%, 69%)  Inchworm
#fab166  rgb(250, 177, 102)  hsl(30, 94%, 69%)  Sandy Brown
#66fab1  rgb(102, 250, 177)  hsl(150, 94%, 69%)  Medium Spring Green