#D97DFA

#d97dfa ≈ Heliotrope

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

#d97dfa is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 85.1% red, 49.02% green and 98.04% blue; printed in CMYK it uses 13.2% cyan, 50% magenta, 0% yellow and 1.96% black. Its hue angle is 284.16°, with 92.59% saturation and 73.53% 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.26:1 (WCAG AAA). The closest named color is Heliotrope (#df73ff), ΔE 2.1.

Description generated from the measured properties of this color.

Conversions of #d97dfa 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.3632

Readable text 2.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.26:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a2a2a2 ≈ 0.003% of males
Achromatomaly #bb95cb ≈ 0.001% of males
Protanopia #639dfe ≈ 1.01% of males
Deuteranopia #7fa5f7 ≈ 1.27% of males
Tritanopia #d890b0 ≈ 0.0001% of males
Protanomaly #a091fd ≈ 1.08% of males
Deuteranomaly #ab97f8 ≈ 4.63% of males
Tritanomaly #d889d2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d97dfa {
  color: #d97dfa;
}
Background
.bg-d97dfa {
  background-color: #d97dfa;
  color: #000000;
}
Border
.border-d97dfa {
  border: 2px solid #d97dfa;
}
CSS variables
:root {
  --color-primary: #d97dfa;
  --color-primary-rgb: 217 125 250;
  --color-primary-hsl: 284 93% 74%;
}
Gradient
.gradient-d97dfa {
  background: linear-gradient(135deg, #d97dfa, #fa7ddc);
}
Colored shadow
.shadow-d97dfa {
  box-shadow: 0 8px 24px rgb(217 125 250 / 0.35);
}

Heliotrope
#d97dfa  rgb(217, 125, 250)  hsl(284, 93%, 74%)  Heliotrope
#9efa7d  rgb(158, 250, 125)  hsl(104, 93%, 74%)  Mint Green
#fad97d  rgb(250, 217, 125)  hsl(44, 93%, 74%)  Jasmine
#7dfad9  rgb(125, 250, 217)  hsl(164, 93%, 74%)  Aquamarine