#9E87F0

#9e87f0 ≈ Medium Purple

  • violet
  • Lightness: high
  • Saturation: moderate
  • Cool

#9e87f0 is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 61.96% red, 52.94% green and 94.12% blue; printed in CMYK it uses 34.17% cyan, 43.75% magenta, 0% yellow and 5.88% black. Its hue angle is 253.14°, with 77.78% saturation and 73.53% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. Black text on this color reaches a contrast ratio of 7.18:1 (WCAG AAA). The closest named color is Medium Purple (#9370db), ΔE 7.13.

Description generated from the measured properties of this color.

Conversions of #9e87f0 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.3089

Readable text 2.93:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.18:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #979797 ≈ 0.003% of males
Achromatomaly #9a91c1 ≈ 0.001% of males
Protanopia #6498f4 ≈ 1.01% of males
Deuteranopia #6795ed ≈ 1.27% of males
Tritanopia #8a9bb0 ≈ 0.0001% of males
Protanomaly #7f92f2 ≈ 1.08% of males
Deuteranomaly #8190ee ≈ 4.63% of males
Tritanomaly #9393cd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-9e87f0 {
  color: #9e87f0;
}
Background
.bg-9e87f0 {
  background-color: #9e87f0;
  color: #000000;
}
Border
.border-9e87f0 {
  border: 2px solid #9e87f0;
}
CSS variables
:root {
  --color-primary: #9e87f0;
  --color-primary-rgb: 158 135 240;
  --color-primary-hsl: 253 78% 74%;
}
Gradient
.gradient-9e87f0 {
  background: linear-gradient(135deg, #9e87f0, #d287f0);
}
Colored shadow
.shadow-9e87f0 {
  box-shadow: 0 8px 24px rgb(158 135 240 / 0.35);
}

Medium Purple
#9e87f0  rgb(158, 135, 240)  hsl(253, 78%, 74%)  Medium Purple
#d9f087  rgb(217, 240, 135)  hsl(73, 78%, 74%)  Pastel Yellow
#f09e87  rgb(240, 158, 135)  hsl(13, 78%, 74%)  Vivid Tangerine
#87f09e  rgb(135, 240, 158)  hsl(133, 78%, 74%)  Light Green