#A257FF

#a257ff ≈ Medium Purple

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

#a257ff is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 63.53% red, 34.12% green and 100% blue; printed in CMYK it uses 36.47% cyan, 65.88% magenta, 0% yellow and 0% black. Its hue angle is 266.79°, 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.34:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 7.63.

Description generated from the measured properties of this color.

Conversions of #a257ff 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.2172

Readable text 3.93:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.34:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #8f72c1 ≈ 0.001% of males
Protanopia #0080ff ≈ 1.01% of males
Deuteranopia #007ffb ≈ 1.27% of males
Tritanopia #8d7ea4 ≈ 0.0001% of males
Protanomaly #5f72ff ≈ 1.08% of males
Deuteranomaly #6771fd ≈ 4.63% of males
Tritanomaly #9670cf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Purple
#a257ff  rgb(162, 87, 255)  hsl(267, 100%, 67%)  Medium Purple
#b4ff57  rgb(180, 255, 87)  hsl(87, 100%, 67%)  Green Yellow
#ffa257  rgb(255, 162, 87)  hsl(27, 100%, 67%)  Sandy Brown
#57ffa2  rgb(87, 255, 162)  hsl(147, 100%, 67%)  Medium Spring Green