#D7A8E4 color
The hex color #D7A8E4 is a light, moderate magenta.
In the RGB color model it is made of 84.3% red, 65.9% green and 89.4% blue (215, 168, 228).
Its hue angle is 287°, with 53% saturation and 78% lightness. For print, the CMYK equivalent is 6% cyan, 26% magenta, 0% yellow and 11% black.
The closest named color is Controlled Substance (#DEADEA), a difference of 1.5 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 10.61:1).
#D7A8E4 color codes
| HEX | #D7A8E4 | |
|---|---|---|
| RGB | rgb(215, 168, 228) | |
| RGB percent | rgb(84.3%, 65.9%, 89.4%) | |
| HSL | hsl(287, 53%, 78%) | |
| HSV / HSB | hsv(287, 26%, 89%) | |
| CMYK | cmyk(6%, 26%, 0%, 11%) | |
| CIE LAB | lab(74.86, 27.6, -23.6) | |
| CIE LCH | lch(74.86, 36.31, 319.47) | |
| CIE XYZ | xyz(56.029, 48.055, 79.708) | |
| Decimal | 14133476 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D7A8E4, 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 #D7A8E4 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.61:1 | Pass | Pass | Pass |
| Sample text | 1.98:1 | Fail | Fail | Fail |
| #D7A8E4 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.98:1 | Fail | Fail | Fail |
| Sample text | 10.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 #D7A8E4 looks to people with the most common types of color vision deficiency.
#a1b5e6Protanopia
no red cones#abbae2Deuteranopia
no green cones#d8aebdTritanopia
no blue cones#b8b8b8Achromatopsia
no color vision
CSS examples
.background { background-color: #d7a8e4; }
.text { color: #d7a8e4; }
.border { border: 2px solid #d7a8e4; }
.transparent { background-color: rgb(215 168 228 / 50%); }
.gradient { background: linear-gradient(to right, #d7a8e4, #e4a8d3); }
Similar colors
#deadeaControlled Substance#c9a0dcWisteria#e9aef2Candy Dreams#d39ed2Velvet Horizon#e8a7e2Candy Floss#cc99ddSomewhere in a Fairytale#eeaaeePinky Swear#c6a1cfLilac Lace
Questions
- What color is #D7A8E4?
- #D7A8E4 is a light, moderate magenta, closest to the named color Controlled Substance. It belongs to the purple family of colors.
- What is the RGB value of #D7A8E4?
- The RGB value is 215, 168, 228: 215 red, 168 green and 228 blue on a 0 to 255 scale.
- What is the complementary color of #D7A8E4?
- The complementary color is #B5E4A8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D7A8E4?
- Black text. Black text has a contrast ratio of 10.61:1 and white text 1.98:1. WCAG asks for at least 4.5:1 for normal text.