#A157FF

#a157ff ≈ Medium Slate Blue

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

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

Description generated from the measured properties of this color.

Conversions of #a157ff 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.2161

Readable text 3.95:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.32:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #8e72c0 ≈ 0.001% of males
Protanopia #0080ff ≈ 1.01% of males
Deuteranopia #007ffb ≈ 1.27% of males
Tritanopia #8c7ea4 ≈ 0.0001% of males
Protanomaly #5e72ff ≈ 1.08% of males
Deuteranomaly #6671fd ≈ 4.63% of males
Tritanomaly #9570cf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a157ff {
  color: #a157ff;
}
Background
.bg-a157ff {
  background-color: #a157ff;
  color: #000000;
}
Border
.border-a157ff {
  border: 2px solid #a157ff;
}
CSS variables
:root {
  --color-primary: #a157ff;
  --color-primary-rgb: 161 87 255;
  --color-primary-hsl: 266 100% 67%;
}
Gradient
.gradient-a157ff {
  background: linear-gradient(135deg, #a157ff, #f557ff);
}
Colored shadow
.shadow-a157ff {
  box-shadow: 0 8px 24px rgb(161 87 255 / 0.35);
}

Medium Slate Blue
#a157ff  rgb(161, 87, 255)  hsl(266, 100%, 67%)  Medium Slate Blue
#b5ff57  rgb(181, 255, 87)  hsl(86, 100%, 67%)  Green Yellow
#ffa157  rgb(255, 161, 87)  hsl(26, 100%, 67%)  Sandy Brown
#57ffa1  rgb(87, 255, 161)  hsl(146, 100%, 67%)  Medium Spring Green