#A387FE

#a387fe ≈ Medium Purple

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

#a387fe is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 63.92% red, 52.94% green and 99.61% blue; printed in CMYK it uses 35.83% cyan, 46.85% magenta, 0% yellow and 0.39% black. Its hue angle is 254.12°, with 98.35% saturation and 76.27% 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 soft pastel palettes. Black text on this color reaches a contrast ratio of 7.45:1 (WCAG AAA). The closest named color is Medium Purple (#9370db), ΔE 8.08.

Description generated from the measured properties of this color.

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

Readable text 2.82:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.45:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #9a9a9a ≈ 0.003% of males
Achromatomaly #9e93ca ≈ 0.001% of males
Protanopia #5c9cff ≈ 1.01% of males
Deuteranopia #6098fb ≈ 1.27% of males
Tritanopia #8c9eb6 ≈ 0.0001% of males
Protanomaly #7f94ff ≈ 1.08% of males
Deuteranomaly #8091fc ≈ 4.63% of males
Tritanomaly #9696d7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a387fe {
  color: #a387fe;
}
Background
.bg-a387fe {
  background-color: #a387fe;
  color: #000000;
}
Border
.border-a387fe {
  border: 2px solid #a387fe;
}
CSS variables
:root {
  --color-primary: #a387fe;
  --color-primary-rgb: 163 135 254;
  --color-primary-hsl: 254 98% 76%;
}
Gradient
.gradient-a387fe {
  background: linear-gradient(135deg, #a387fe, #de87fe);
}
Colored shadow
.shadow-a387fe {
  box-shadow: 0 8px 24px rgb(163 135 254 / 0.35);
}

Medium Purple
#a387fe  rgb(163, 135, 254)  hsl(254, 98%, 76%)  Medium Purple
#e2fe87  rgb(226, 254, 135)  hsl(74, 98%, 76%)  Pastel Yellow
#fea387  rgb(254, 163, 135)  hsl(14, 98%, 76%)  Vivid Tangerine
#87fea3  rgb(135, 254, 163)  hsl(134, 98%, 76%)  Pale Green