#A178E4

#a178e4 ≈ Medium Purple

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

#a178e4 is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 63.14% red, 47.06% green and 89.41% blue; printed in CMYK it uses 29.39% cyan, 47.37% magenta, 0% yellow and 10.59% black. Its hue angle is 262.78°, with 66.67% saturation and 68.24% 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.32:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 3.5.

Description generated from the measured properties of this color.

Conversions of #a178e4 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.2661

Readable text 3.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.32:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8d8d8d ≈ 0.003% of males
Achromatomaly #9585b6 ≈ 0.001% of males
Protanopia #568de8 ≈ 1.01% of males
Deuteranopia #5f8ce1 ≈ 1.27% of males
Tritanopia #948ca3 ≈ 0.0001% of males
Protanomaly #7b85e6 ≈ 1.08% of males
Deuteranomaly #7f85e2 ≈ 4.63% of males
Tritanomaly #9984c1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Purple
#a178e4  rgb(161, 120, 228)  hsl(263, 67%, 68%)  Medium Purple
#bbe478  rgb(187, 228, 120)  hsl(83, 67%, 68%)  Inchworm
#e4a178  rgb(228, 161, 120)  hsl(23, 67%, 68%)  Tumbleweed
#78e4a1  rgb(120, 228, 161)  hsl(143, 67%, 68%)  Light Green