#D2A7E2 color
The hex color #D2A7E2 is a light, moderate magenta.
In the RGB color model it is made of 82.4% red, 65.5% green and 88.6% blue (210, 167, 226).
Its hue angle is 284°, with 50% saturation and 77% lightness. For print, the CMYK equivalent is 7% cyan, 26% magenta, 0% yellow and 11% black.
The closest named color is Wisteria (#C9A0DC), a difference of 2.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 10.37:1).
#D2A7E2 color codes
| HEX | #D2A7E2 | |
|---|---|---|
| RGB | rgb(210, 167, 226) | |
| RGB percent | rgb(82.4%, 65.5%, 88.6%) | |
| HSL | hsl(284, 50%, 77%) | |
| HSV / HSB | hsv(284, 26%, 89%) | |
| CMYK | cmyk(7%, 26%, 0%, 11%) | |
| CIE LAB | lab(74.08, 26.15, -23.74) | |
| CIE LCH | lch(74.08, 35.31, 317.77) | |
| CIE XYZ | xyz(54.122, 46.831, 78.125) | |
| Decimal | 13805538 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #D2A7E2, 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 #D2A7E2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.37:1 | Pass | Pass | Pass |
| Sample text | 2.03:1 | Fail | Fail | Fail |
| #D2A7E2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.03:1 | Fail | Fail | Fail |
| Sample text | 10.37: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 #D2A7E2 looks to people with the most common types of color vision deficiency.
#9fb3e4Protanopia
no red cones#a9b8e0Deuteranopia
no green cones#d2aebcTritanopia
no blue cones#b6b6b6Achromatopsia
no color vision
CSS examples
.background { background-color: #d2a7e2; }
.text { color: #d2a7e2; }
.border { border: 2px solid #d2a7e2; }
.transparent { background-color: rgb(210 167 226 / 50%); }
.gradient { background: linear-gradient(to right, #d2a7e2, #e2a7d4); }
Similar colors
#c9a0dcWisteria#deadeaControlled Substance#cc99ddSomewhere in a Fairytale#c6a1cfLilac Lace#d39ed2Velvet Horizon#bfa3d9Enchanted Lavender#e9aef2Candy Dreams#e8a7e2Candy Floss
Questions
- What color is #D2A7E2?
- #D2A7E2 is a light, moderate magenta, closest to the named color Wisteria. It belongs to the purple family of colors.
- What is the RGB value of #D2A7E2?
- The RGB value is 210, 167, 226: 210 red, 167 green and 226 blue on a 0 to 255 scale.
- What is the complementary color of #D2A7E2?
- The complementary color is #B7E2A7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #D2A7E2?
- Black text. Black text has a contrast ratio of 10.37:1 and white text 2.03:1. WCAG asks for at least 4.5:1 for normal text.