#8A8CD5

#8a8cd5 ≈ Medium Purple

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

#8a8cd5 is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 54.12% red, 54.9% green and 83.53% blue; printed in CMYK it uses 35.21% cyan, 34.27% magenta, 0% yellow and 16.47% black. Its hue angle is 238.4°, with 47.17% saturation and 68.82% 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.79:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 9.81.

Description generated from the measured properties of this color.

Conversions of #8a8cd5 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9999cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2896

Readable text 3.09:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.79:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #939393 ≈ 0.003% of males
Achromatomaly #8f90b1 ≈ 0.001% of males
Protanopia #7595d8 ≈ 1.01% of males
Deuteranopia #7290d3 ≈ 1.27% of males
Tritanopia #769aa7 ≈ 0.0001% of males
Protanomaly #7e92d7 ≈ 1.08% of males
Deuteranomaly #7c8ed4 ≈ 4.63% of males
Tritanomaly #7e94bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a8cd5 {
  color: #8a8cd5;
}
Background
.bg-8a8cd5 {
  background-color: #8a8cd5;
  color: #000000;
}
Border
.border-8a8cd5 {
  border: 2px solid #8a8cd5;
}
CSS variables
:root {
  --color-primary: #8a8cd5;
  --color-primary-rgb: 138 140 213;
  --color-primary-hsl: 238 47% 69%;
}
Gradient
.gradient-8a8cd5 {
  background: linear-gradient(135deg, #8a8cd5, #ad8ad5);
}
Colored shadow
.shadow-8a8cd5 {
  box-shadow: 0 8px 24px rgb(138 140 213 / 0.35);
}

Medium Purple
#8a8cd5  rgb(138, 140, 213)  hsl(238, 47%, 69%)  Medium Purple
#d5d38a  rgb(213, 211, 138)  hsl(58, 47%, 69%)  Pale Goldenrod
#d58a8c  rgb(213, 138, 140)  hsl(358, 47%, 69%)  Old Rose
#8cd58a  rgb(140, 213, 138)  hsl(118, 47%, 69%)  Granny Smith Apple