#D166F2

#d166f2 ≈ Heliotrope

  • magenta
  • Lightness: high
  • Saturation: strong
  • Balanced

#d166f2 is a color from the magenta family, with high lightness and strong saturation. In the RGB model it is made of 81.96% red, 40% green and 94.9% blue; printed in CMYK it uses 13.64% cyan, 57.85% magenta, 0% yellow and 5.1% black. Its hue angle is 285.86°, with 84.34% saturation and 67.45% lightness in HSL. It sits between warm and cool, and is 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 6.89:1 (WCAG AA). The closest named color is Heliotrope (#df73ff), ΔE 3.93.

Description generated from the measured properties of this color.

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

Readable text 3.05:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.89:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #949494 ≈ 0.003% of males
Achromatomaly #b084c1 ≈ 0.001% of males
Protanopia #428df6 ≈ 1.01% of males
Deuteranopia #6b97ee ≈ 1.27% of males
Tritanopia #d07da3 ≈ 0.0001% of males
Protanomaly #927ff5 ≈ 1.08% of males
Deuteranomaly #9e86f0 ≈ 4.63% of males
Tritanomaly #d074c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d166f2 {
  color: #d166f2;
}
Background
.bg-d166f2 {
  background-color: #d166f2;
  color: #000000;
}
Border
.border-d166f2 {
  border: 2px solid #d166f2;
}
CSS variables
:root {
  --color-primary: #d166f2;
  --color-primary-rgb: 209 102 242;
  --color-primary-hsl: 286 84% 67%;
}
Gradient
.gradient-d166f2 {
  background: linear-gradient(135deg, #d166f2, #f266cd);
}
Colored shadow
.shadow-d166f2 {
  box-shadow: 0 8px 24px rgb(209 102 242 / 0.35);
}

Heliotrope
#d166f2  rgb(209, 102, 242)  hsl(286, 84%, 67%)  Heliotrope
#87f266  rgb(135, 242, 102)  hsl(106, 84%, 67%)  Mint Green
#f2d166  rgb(242, 209, 102)  hsl(46, 84%, 67%)  Naples Yellow
#66f2d1  rgb(102, 242, 209)  hsl(166, 84%, 67%)  Aquamarine