#D397DC color
The hex color #D397DC is a light, desaturated magenta.
In the RGB color model it is made of 82.7% red, 59.2% green and 86.3% blue (211, 151, 220).
Its hue angle is 292°, with 50% saturation and 73% lightness. For print, the CMYK equivalent is 4% cyan, 31% magenta, 0% yellow and 14% black.
The closest named color is Somewhere in a Fairytale (#CC99DD), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.23:1).
#D397DC color codes
| HEX | #D397DC | |
|---|---|---|
| RGB | rgb(211, 151, 220) | |
| RGB percent | rgb(82.7%, 59.2%, 86.3%) | |
| HSL | hsl(292, 50%, 73%) | |
| HSV / HSB | hsv(292, 31%, 86%) | |
| CMYK | cmyk(4%, 31%, 0%, 14%) | |
| CIE LAB | lab(70.28, 33.99, -26.25) | |
| CIE LCH | lch(70.28, 42.95, 322.32) | |
| CIE XYZ | xyz(50.847, 41.151, 72.961) | |
| Decimal | 13866972 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D397DC, 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 #D397DC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.23:1 | Pass | Pass | Pass |
| Sample text | 2.28:1 | Fail | Fail | Fail |
| #D397DC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.28:1 | Fail | Fail | Fail |
| Sample text | 9.23: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 #D397DC looks to people with the most common types of color vision deficiency.
#90a7dfProtanopia
no red cones#9eaedaDeuteranopia
no green cones#d59eb0Tritanopia
no blue cones#acacacAchromatopsia
no color vision
CSS examples
.background { background-color: #d397dc; }
.text { color: #d397dc; }
.border { border: 2px solid #d397dc; }
.transparent { background-color: rgb(211 151 220 / 50%); }
.gradient { background: linear-gradient(to right, #d397dc, #dc97c3); }
Similar colors
#cc99ddSomewhere in a Fairytale#c9a0dcWisteria#d39ed2Velvet Horizon#cb99c9Pastel Violet#cc99eeDream Vapour#d39bcbGirl Power#ee99eeDiva Mecha#bf8fc4Violaceous
Questions
- What color is #D397DC?
- #D397DC is a light, desaturated magenta, closest to the named color Somewhere in a Fairytale. It belongs to the purple family of colors.
- What is the RGB value of #D397DC?
- The RGB value is 211, 151, 220: 211 red, 151 green and 220 blue on a 0 to 255 scale.
- What is the complementary color of #D397DC?
- The complementary color is #A0DC97, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D397DC?
- Black text. Black text has a contrast ratio of 9.23:1 and white text 2.28:1. WCAG asks for at least 4.5:1 for normal text.