#8A87F3

#8a87f3 ≈ Medium Purple

  • blue
  • Lightness: high
  • Saturation: moderate
  • Cool

#8a87f3 is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 54.12% red, 52.94% green and 95.29% blue; printed in CMYK it uses 43.21% cyan, 44.44% magenta, 0% yellow and 4.71% black. Its hue angle is 241.67°, with 81.82% saturation and 74.12% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking 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 8.56.

Description generated from the measured properties of this color.

Conversions of #8a87f3 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.292

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 #908ec1 ≈ 0.001% of males
Protanopia #5d97f7 ≈ 1.01% of males
Deuteranopia #588ff1 ≈ 1.27% of males
Tritanopia #699db1 ≈ 0.0001% of males
Protanomaly #7291f5 ≈ 1.08% of males
Deuteranomaly #6f8cf2 ≈ 4.63% of males
Tritanomaly #7795cf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a87f3 {
  color: #8a87f3;
}
Background
.bg-8a87f3 {
  background-color: #8a87f3;
  color: #000000;
}
Border
.border-8a87f3 {
  border: 2px solid #8a87f3;
}
CSS variables
:root {
  --color-primary: #8a87f3;
  --color-primary-rgb: 138 135 243;
  --color-primary-hsl: 242 82% 74%;
}
Gradient
.gradient-8a87f3 {
  background: linear-gradient(135deg, #8a87f3, #c087f3);
}
Colored shadow
.shadow-8a87f3 {
  box-shadow: 0 8px 24px rgb(138 135 243 / 0.35);
}

Medium Purple
#8a87f3  rgb(138, 135, 243)  hsl(242, 82%, 74%)  Medium Purple
#f0f387  rgb(240, 243, 135)  hsl(62, 82%, 74%)  Pastel Yellow
#f38a87  rgb(243, 138, 135)  hsl(2, 82%, 74%)  Light Coral
#87f38a  rgb(135, 243, 138)  hsl(122, 82%, 74%)  Light Green