#A87BF7

#a87bf7 ≈ Medium Purple

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

#a87bf7 is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 65.88% red, 48.24% green and 96.86% blue; printed in CMYK it uses 31.98% cyan, 50.2% magenta, 0% yellow and 3.14% black. Its hue angle is 261.77°, with 88.57% saturation and 72.55% 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 6.84:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 5.83.

Description generated from the measured properties of this color.

Conversions of #a87bf7 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.2921

Readable text 3.07:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.84:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #939393 ≈ 0.003% of males
Achromatomaly #9c8ac3 ≈ 0.001% of males
Protanopia #4f93fb ≈ 1.01% of males
Deuteranopia #5a92f4 ≈ 1.27% of males
Tritanopia #9793ae ≈ 0.0001% of males
Protanomaly #7c8afa ≈ 1.08% of males
Deuteranomaly #8189f5 ≈ 4.63% of males
Tritanomaly #9e8acf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a87bf7 {
  color: #a87bf7;
}
Background
.bg-a87bf7 {
  background-color: #a87bf7;
  color: #000000;
}
Border
.border-a87bf7 {
  border: 2px solid #a87bf7;
}
CSS variables
:root {
  --color-primary: #a87bf7;
  --color-primary-rgb: 168 123 247;
  --color-primary-hsl: 262 89% 73%;
}
Gradient
.gradient-a87bf7 {
  background: linear-gradient(135deg, #a87bf7, #e67bf7);
}
Colored shadow
.shadow-a87bf7 {
  box-shadow: 0 8px 24px rgb(168 123 247 / 0.35);
}

Medium Purple
#a87bf7  rgb(168, 123, 247)  hsl(262, 89%, 73%)  Medium Purple
#caf77b  rgb(202, 247, 123)  hsl(82, 89%, 73%)  Inchworm
#f7a87b  rgb(247, 168, 123)  hsl(22, 89%, 73%)  Light Salmon
#7bf7a8  rgb(123, 247, 168)  hsl(142, 89%, 73%)  Medium Spring Green