#8162FF

#8162ff ≈ Medium Slate Blue

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

#8162ff is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 50.59% red, 38.43% green and 100% blue; printed in CMYK it uses 49.41% cyan, 61.57% magenta, 0% yellow and 0% black. Its hue angle is 251.85°, with 100% saturation and 69.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 call-to-action buttons. Black text on this color reaches a contrast ratio of 5.12:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 2.77.

Description generated from the measured properties of this color.

Conversions of #8162ff 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.2062

Readable text 4.1:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.12:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #7f73bf ≈ 0.001% of males
Protanopia #0081ff ≈ 1.01% of males
Deuteranopia #0079fc ≈ 1.27% of males
Tritanopia #5387a8 ≈ 0.0001% of males
Protanomaly #4676ff ≈ 1.08% of males
Deuteranomaly #4770fd ≈ 4.63% of males
Tritanomaly #697ad0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8162ff {
  color: #8162ff;
}
Background
.bg-8162ff {
  background-color: #8162ff;
  color: #000000;
}
Border
.border-8162ff {
  border: 2px solid #8162ff;
}
CSS variables
:root {
  --color-primary: #8162ff;
  --color-primary-rgb: 129 98 255;
  --color-primary-hsl: 252 100% 69%;
}
Gradient
.gradient-8162ff {
  background: linear-gradient(135deg, #8162ff, #d062ff);
}
Colored shadow
.shadow-8162ff {
  box-shadow: 0 8px 24px rgb(129 98 255 / 0.35);
}

Medium Slate Blue
#8162ff  rgb(129, 98, 255)  hsl(252, 100%, 69%)  Medium Slate Blue
#e0ff62  rgb(224, 255, 98)  hsl(72, 100%, 69%)  Electric Lime
#ff8162  rgb(255, 129, 98)  hsl(12, 100%, 69%)  Coral
#62ff81  rgb(98, 255, 129)  hsl(132, 100%, 69%)  Spring Green