#D397DC color

#D397DC rgb(211, 151, 220)
Shades of purple

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
RGBrgb(211, 151, 220)
RGB percentrgb(82.7%, 59.2%, 86.3%)
HSLhsl(292, 50%, 73%)
HSV / HSBhsv(292, 31%, 86%)
CMYKcmyk(4%, 31%, 0%, 14%)
CIE LABlab(70.28, 33.99, -26.25)
CIE LCHlch(70.28, 42.95, 322.32)
CIE XYZxyz(50.847, 41.151, 72.961)
Decimal13866972
Short hexNone (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 #D397DCRatioAAAAAAA large
Sample text9.23:1PassPassPass
Sample text2.28:1FailFailFail
#D397DC as text onRatioAAAAAAA large
Sample text2.28:1FailFailFail
Sample text9.23:1PassPassPass

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.

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); }
Background
Text color
Border

Similar colors

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.