#8A7DF2

#8a7df2 ≈ Medium Purple

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

#8a7df2 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.02% green and 94.9% blue; printed in CMYK it uses 42.98% cyan, 48.35% magenta, 0% yellow and 5.1% black. Its hue angle is 246.67°, with 81.82% saturation and 71.96% 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.3:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 5.99.

Description generated from the measured properties of this color.

Conversions of #8a7df2 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.2648

Readable text 3.34:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.3:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8d8d8d ≈ 0.003% of males
Achromatomaly #8c87be ≈ 0.001% of males
Protanopia #4c90f6 ≈ 1.01% of males
Deuteranopia #4989ef ≈ 1.27% of males
Tritanopia #6a95ac ≈ 0.0001% of males
Protanomaly #6a89f5 ≈ 1.08% of males
Deuteranomaly #6985f0 ≈ 4.63% of males
Tritanomaly #788ccc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Purple
#8a7df2  rgb(138, 125, 242)  hsl(247, 82%, 72%)  Medium Purple
#e5f27d  rgb(229, 242, 125)  hsl(67, 82%, 72%)  Pastel Yellow
#f28a7d  rgb(242, 138, 125)  hsl(7, 82%, 72%)  Salmon
#7df28a  rgb(125, 242, 138)  hsl(127, 82%, 72%)  Light Green