#CF87F2

#cf87f2 ≈ Heliotrope

  • magenta
  • Lightness: high
  • Saturation: moderate
  • Cool

#cf87f2 is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 81.18% red, 52.94% green and 94.9% blue; printed in CMYK it uses 14.46% cyan, 44.21% magenta, 0% yellow and 5.1% black. Its hue angle is 280.37°, with 80.45% saturation and 73.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 call-to-action buttons. Black text on this color reaches a contrast ratio of 8.4:1 (WCAG AAA). The closest named color is Heliotrope (#df73ff), ΔE 4.93.

Description generated from the measured properties of this color.

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

Readable text 2.5:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.4:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a4a4a4 ≈ 0.003% of males
Achromatomaly #b799c8 ≈ 0.001% of males
Protanopia #72a0f6 ≈ 1.01% of males
Deuteranopia #85a6ef ≈ 1.27% of males
Tritanopia #cc97b1 ≈ 0.0001% of males
Protanomaly #a096f4 ≈ 1.08% of males
Deuteranomaly #a89af0 ≈ 4.63% of males
Tritanomaly #cd91ce ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cf87f2 {
  color: #cf87f2;
}
Background
.bg-cf87f2 {
  background-color: #cf87f2;
  color: #000000;
}
Border
.border-cf87f2 {
  border: 2px solid #cf87f2;
}
CSS variables
:root {
  --color-primary: #cf87f2;
  --color-primary-rgb: 207 135 242;
  --color-primary-hsl: 280 80% 74%;
}
Gradient
.gradient-cf87f2 {
  background: linear-gradient(135deg, #cf87f2, #f287e0);
}
Colored shadow
.shadow-cf87f2 {
  box-shadow: 0 8px 24px rgb(207 135 242 / 0.35);
}

Heliotrope
#cf87f2  rgb(207, 135, 242)  hsl(280, 80%, 74%)  Heliotrope
#aaf287  rgb(170, 242, 135)  hsl(100, 80%, 74%)  Pale Green
#f2cf87  rgb(242, 207, 135)  hsl(40, 80%, 74%)  Topaz
#87f2cf  rgb(135, 242, 207)  hsl(160, 80%, 74%)  Aquamarine