#9C87F4

#9c87f4 ≈ Medium Purple

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

#9c87f4 is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 61.18% red, 52.94% green and 95.69% blue; printed in CMYK it uses 36.07% cyan, 44.67% magenta, 0% yellow and 4.31% black. Its hue angle is 251.56°, with 83.21% saturation and 74.31% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 7.19:1 (WCAG AAA). The closest named color is Medium Purple (#9370db), ΔE 7.38.

Description generated from the measured properties of this color.

Conversions of #9c87f4 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.3093

Readable text 2.92:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #979797 ≈ 0.003% of males
Achromatomaly #9991c3 ≈ 0.001% of males
Protanopia #6199f8 ≈ 1.01% of males
Deuteranopia #6395f1 ≈ 1.27% of males
Tritanopia #869cb2 ≈ 0.0001% of males
Protanomaly #7d92f6 ≈ 1.08% of males
Deuteranomaly #7e8ff2 ≈ 4.63% of males
Tritanomaly #8f94d0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-9c87f4 {
  color: #9c87f4;
}
Background
.bg-9c87f4 {
  background-color: #9c87f4;
  color: #000000;
}
Border
.border-9c87f4 {
  border: 2px solid #9c87f4;
}
CSS variables
:root {
  --color-primary: #9c87f4;
  --color-primary-rgb: 156 135 244;
  --color-primary-hsl: 252 83% 74%;
}
Gradient
.gradient-9c87f4 {
  background: linear-gradient(135deg, #9c87f4, #d287f4);
}
Colored shadow
.shadow-9c87f4 {
  box-shadow: 0 8px 24px rgb(156 135 244 / 0.35);
}

Medium Purple
#9c87f4  rgb(156, 135, 244)  hsl(252, 83%, 74%)  Medium Purple
#dff487  rgb(223, 244, 135)  hsl(72, 83%, 74%)  Pastel Yellow
#f49c87  rgb(244, 156, 135)  hsl(12, 83%, 74%)  Vivid Tangerine
#87f49c  rgb(135, 244, 156)  hsl(132, 83%, 74%)  Light Green