#D397FD color
The hex color #D397FD is a light, vivid violet.
In the RGB color model it is made of 82.7% red, 59.2% green and 99.2% blue (211, 151, 253).
Its hue angle is 275°, with 96% saturation and 79% lightness. For print, the CMYK equivalent is 17% cyan, 40% magenta, 0% yellow and 1% black.
The closest named color is Dream Vapour (#CC99EE), a difference of 2.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.61:1).
#D397FD color codes
| HEX | #D397FD | |
|---|---|---|
| RGB | rgb(211, 151, 253) | |
| RGB percent | rgb(82.7%, 59.2%, 99.2%) | |
| HSL | hsl(275, 96%, 79%) | |
| HSV / HSB | hsv(275, 40%, 99%) | |
| CMYK | cmyk(17%, 40%, 0%, 1%) | |
| CIE LAB | lab(71.61, 40.7, -42.25) | |
| CIE LCH | lch(71.61, 58.66, 313.93) | |
| CIE XYZ | xyz(55.657, 43.075, 98.292) | |
| Decimal | 13867005 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D397FD, 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 #D397FD | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.61:1 | Pass | Pass | Pass |
| Sample text | 2.18:1 | Fail | Fail | Fail |
| #D397FD as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.18:1 | Fail | Fail | Fail |
| Sample text | 9.61: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 #D397FD looks to people with the most common types of color vision deficiency.
#82adffProtanopia
no red cones#91b1faDeuteranopia
no green cones#cea6beTritanopia
no blue cones#afafafAchromatopsia
no color vision
CSS examples
.background { background-color: #d397fd; }
.text { color: #d397fd; }
.border { border: 2px solid #d397fd; }
.transparent { background-color: rgb(211 151 253 / 50%); }
.gradient { background: linear-gradient(to right, #d397fd, #fd97f4); }
Similar colors
#cc99eeDream Vapour#c9a0ffDiva#ddaaffTestosterose#ee99ffParty Pig#cc99ddSomewhere in a Fairytale#e0b0ffMauve#e0b0ffMauve Pink#eb84f5Pinkling
Questions
- What color is #D397FD?
- #D397FD is a light, vivid violet, closest to the named color Dream Vapour. It belongs to the purple family of colors.
- What is the RGB value of #D397FD?
- The RGB value is 211, 151, 253: 211 red, 151 green and 253 blue on a 0 to 255 scale.
- What is the complementary color of #D397FD?
- The complementary color is #C1FD97, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D397FD?
- Black text. Black text has a contrast ratio of 9.61:1 and white text 2.18:1. WCAG asks for at least 4.5:1 for normal text.