#8A79F2

#8a79f2 ≈ Medium Purple

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

#8a79f2 is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 54.12% red, 47.45% green and 94.9% blue; printed in CMYK it uses 42.98% cyan, 50% magenta, 0% yellow and 5.1% black. Its hue angle is 248.43°, with 82.31% saturation and 71.18% 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.1:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 5.2.

Description generated from the measured properties of this color.

Conversions of #8a79f2 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.2549

Readable text 3.44:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.1:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8a8a8a ≈ 0.003% of males
Achromatomaly #8a84bd ≈ 0.001% of males
Protanopia #448df6 ≈ 1.01% of males
Deuteranopia #4387ef ≈ 1.27% of males
Tritanopia #6b92aa ≈ 0.0001% of males
Protanomaly #6786f5 ≈ 1.08% of males
Deuteranomaly #6782f0 ≈ 4.63% of males
Tritanomaly #7889cb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Purple
#8a79f2  rgb(138, 121, 242)  hsl(248, 82%, 71%)  Medium Purple
#e1f279  rgb(225, 242, 121)  hsl(68, 82%, 71%)  Pastel Yellow
#f28a79  rgb(242, 138, 121)  hsl(8, 82%, 71%)  Salmon
#79f28a  rgb(121, 242, 138)  hsl(128, 82%, 71%)  Light Green