#8A7FD2

#8a7fd2 ≈ Medium Purple

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

#8a7fd2 is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 54.12% red, 49.8% green and 82.35% blue; printed in CMYK it uses 34.29% cyan, 39.52% magenta, 0% yellow and 17.65% black. Its hue angle is 247.95°, with 47.98% saturation and 66.08% 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 brand accents. Black text on this color reaches a contrast ratio of 6.05:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 5.67.

Description generated from the measured properties of this color.

Conversions of #8a7fd2 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.2524

Readable text 3.47:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.05:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8a8a8a ≈ 0.003% of males
Achromatomaly #8a85ab ≈ 0.001% of males
Protanopia #658bd5 ≈ 1.01% of males
Deuteranopia #6588d0 ≈ 1.27% of males
Tritanopia #788f9e ≈ 0.0001% of males
Protanomaly #7687d4 ≈ 1.08% of males
Deuteranomaly #7584d1 ≈ 4.63% of males
Tritanomaly #8089b5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7fd2 {
  color: #8a7fd2;
}
Background
.bg-8a7fd2 {
  background-color: #8a7fd2;
  color: #000000;
}
Border
.border-8a7fd2 {
  border: 2px solid #8a7fd2;
}
CSS variables
:root {
  --color-primary: #8a7fd2;
  --color-primary-rgb: 138 127 210;
  --color-primary-hsl: 248 48% 66%;
}
Gradient
.gradient-8a7fd2 {
  background: linear-gradient(135deg, #8a7fd2, #b47fd2);
}
Colored shadow
.shadow-8a7fd2 {
  box-shadow: 0 8px 24px rgb(138 127 210 / 0.35);
}

Medium Purple
#8a7fd2  rgb(138, 127, 210)  hsl(248, 48%, 66%)  Medium Purple
#c7d27f  rgb(199, 210, 127)  hsl(68, 48%, 66%)  June Bud
#d28a7f  rgb(210, 138, 127)  hsl(8, 48%, 66%)  Old Rose
#7fd28a  rgb(127, 210, 138)  hsl(128, 48%, 66%)  Emerald