#AF87BF

#af87bf ≈ Purple Mountain Majesty

  • magenta
  • Lightness: high
  • Saturation: muted
  • Cool

#af87bf is a color from the magenta family, with high lightness and muted saturation. In the RGB model it is made of 68.63% red, 52.94% green and 74.9% blue; printed in CMYK it uses 8.38% cyan, 29.32% magenta, 0% yellow and 25.1% black. Its hue angle is 282.86°, with 30.43% saturation and 63.92% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. Black text on this color reaches a contrast ratio of 7.04:1 (WCAG AAA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 6.71.

Description generated from the measured properties of this color.

Conversions of #af87bf 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.302

Readable text 2.98:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #959595 ≈ 0.003% of males
Achromatomaly #a090a8 ≈ 0.001% of males
Protanopia #7f93c1 ≈ 1.01% of males
Deuteranopia #8897bd ≈ 1.27% of males
Tritanopia #af8e9b ≈ 0.0001% of males
Protanomaly #958ec0 ≈ 1.08% of males
Deuteranomaly #9991be ≈ 4.63% of males
Tritanomaly #af8bab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af87bf {
  color: #af87bf;
}
Background
.bg-af87bf {
  background-color: #af87bf;
  color: #000000;
}
Border
.border-af87bf {
  border: 2px solid #af87bf;
}
CSS variables
:root {
  --color-primary: #af87bf;
  --color-primary-rgb: 175 135 191;
  --color-primary-hsl: 283 30% 64%;
}
Gradient
.gradient-af87bf {
  background: linear-gradient(135deg, #af87bf, #bf87b3);
}
Colored shadow
.shadow-af87bf {
  box-shadow: 0 8px 24px rgb(175 135 191 / 0.35);
}

Purple Mountain Majesty
#af87bf  rgb(175, 135, 191)  hsl(283, 30%, 64%)  Purple Mountain Majesty
#97bf87  rgb(151, 191, 135)  hsl(103, 30%, 64%)  Dark Sea Green
#bfaf87  rgb(191, 175, 135)  hsl(43, 30%, 64%)  Ecru
#87bfaf  rgb(135, 191, 175)  hsl(163, 30%, 64%)  Medium Aquamarine