#D97FDB color
The hex color #D97FDB is a light, moderate magenta.
In the RGB color model it is made of 85.1% red, 49.8% green and 85.9% blue (217, 127, 219).
Its hue angle is 299°, with 56% saturation and 68% lightness. For print, the CMYK equivalent is 1% cyan, 42% magenta, 0% yellow and 14% black.
The closest named color is Orchid (#DA70D6), a difference of 3.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.01:1).
#D97FDB color codes
| HEX | #D97FDB | |
|---|---|---|
| RGB | rgb(217, 127, 219) | |
| RGB percent | rgb(85.1%, 49.8%, 85.9%) | |
| HSL | hsl(299, 56%, 68%) | |
| HSV / HSB | hsv(299, 42%, 86%) | |
| CMYK | cmyk(1%, 42%, 0%, 14%) | |
| CIE LAB | lab(65.79, 48.37, -32.58) | |
| CIE LCH | lch(65.79, 58.31, 326.04) | |
| CIE XYZ | xyz(48.99, 35.047, 71.188) | |
| Decimal | 14254043 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D97FDB, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #D97FDB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.01:1 | Pass | Pass | Pass |
| Sample text | 2.62:1 | Fail | Fail | Fail |
| #D97FDB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.62:1 | Fail | Fail | Fail |
| Sample text | 8.01:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #D97FDB looks to people with the most common types of color vision deficiency.
#7799deProtanopia
no red cones#8fa4d8Deuteranopia
no green cones#de88a3Tritanopia
no blue cones#a0a0a0Achromatopsia
no color vision
CSS examples
.background { background-color: #d97fdb; }
.text { color: #d97fdb; }
.border { border: 2px solid #d97fdb; }
.transparent { background-color: rgb(217 127 219 / 50%); }
.gradient { background: linear-gradient(to right, #d97fdb, #db7faf); }
Similar colors
#da70d6Orchid#da70d6Pink Orchid#ee88eeFrail Fuchsia#eb84f5Pinkling#cc77eeFake Love#f878f8Princess Peach#ff77eeAvant-Garde Pink#fb7efdAtomic Pink
Questions
- What color is #D97FDB?
- #D97FDB is a light, moderate magenta, closest to the named color Orchid. It belongs to the purple family of colors.
- What is the RGB value of #D97FDB?
- The RGB value is 217, 127, 219: 217 red, 127 green and 219 blue on a 0 to 255 scale.
- What is the complementary color of #D97FDB?
- The complementary color is #81DB7F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D97FDB?
- Black text. Black text has a contrast ratio of 8.01:1 and white text 2.62:1. WCAG asks for at least 4.5:1 for normal text.