#d7afda
a light, soft magenta / pink · neutral · closest name: Plum
At a glance
Every number on this page in one read: what #d7afda is made of, how bright it looks, and which way it leans.
Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #d7afda |
| RGB | rgb(215, 175, 218) |
| HSL | hsl(296, 37%, 77%) |
| CMYK | cmyk(1%, 20%, 0%, 15%) |
| LAB | lab(76.2 21.9 -16.2) |
| LCH | lch(76.2 27.2 323.5) |
| OKLCH | oklch(0.803 0.074 324.0) |
| Decimal | 14135258 |
| Display P3 | color(display-p3 0.843 0.686 0.855) |
Copy-ready code
/* CSS */
color: #d7afda;
background-color: #d7afda;
/* Tailwind (arbitrary) */
class="text-[#d7afda] bg-[#d7afda]"
/* SCSS */
$brand: #d7afda;
/* SwiftUI */
Color(red: 0.843, green: 0.686, blue: 0.855)
/* Android */
Color.parseColor("#d7afda")
/* Flutter */
Color(0xFFD7AFDA)
/* Python / OpenCV (BGR) */
(218, 175, 215)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #d7afda is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F9F5FA;
--brand-100: #F3EBF4;
--brand-200: #E7D3E9;
--brand-300: #d7afda;
--brand-400: #C58CCA;
--brand-500: #B266B8;
--brand-600: #A14DA7;
--brand-700: #86408C;
--brand-800: #6B3470;
--brand-900: #4F2852;
--brand-950: #311933;
--brand: #d7afda;
--brand-ink: #000000;
}Colors that work with #d7afda
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #d7afda
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Charts, tags and secondary surfaces
- ✓Card and section backgrounds
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠White text placed on it
- ⚠Pairing with a same-lightness hue — edges vibrate
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #B2DAAF | Directly opposite — maximum tension | |
| Analogous left | #C2AFDA | Neighbour, quieter | |
| Analogous right | #DAAFC8 | Neighbour, quieter | |
| Split-complement 1 | #C8DAAF | Contrast without the clash | |
| Split-complement 2 | #AFDAC2 | Contrast without the clash | |
| Triadic 1 | #DAD7AF | Even thirds — balanced and loud | |
| Triadic 2 | #AFDAD7 | Even thirds — balanced and loud | |
| Tetradic | #DAC2AF | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#d7afda text on a black background
contrast 11.03:1
#d7afda text on a white background
contrast 1.90:1
CSS3 live lab
The quick brown fox
color: #d7afda;
background-color: #d7afda;
Glowing headline
text-shadow: 2px 2px 8px #d7afda;
Soft neon halo
text-shadow: 0 0 14px rgba(215, 175, 218, 0.45);
box-shadow: 0 12px 32px -8px rgba(215, 175, 218, 0.45);
border: 3px solid #d7afda; background: linear-gradient(135deg, #d7afda, #DAAFC0);
Monochromatic scale
Palettes built from #d7afda
Shades — darker
Tints — lighter
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Lilac (#c8a2c8) — ΔE2000 4 away, with its history, psychology and brand usage.
#d7afda in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#d7afda, answered
What color is #d7afda?
#d7afda is a light soft magenta / pink, closest to Plum (ΔE2000 5.4). It sits at 296° on the hue wheel with 37% saturation and 77% lightness, which reads as neutral.
What is the RGB value of #d7afda?
rgb(215, 175, 218) — 215 red, 175 green and 218 blue out of 255, or 84.3% / 68.6% / 85.5% by channel.
Is #d7afda a light or a dark color?
It is a light color. Relative luminance is 0.5017 and perceived brightness is 76%, so black text on it reaches 11.03:1.
Should I use black or white text on #d7afda?
Black. It scores 11.03:1 against #d7afda, versus 1.90:1 for white — AAA at any size.
What is the complementary color of #d7afda?
#B2DAAF sits directly opposite on the wheel. Softer options are the split-complements #C8DAAF and #AFDAC2, which give the same contrast with far less vibration.
What colors go well with #d7afda?
For interface work: #FAF5FA as the surface, #E3C7E5 for borders, #954B9B for secondary text, #578F3D as an accent and #542857 for hover and pressed states. For a palette, the analogous pair #C2AFDA and #DAAFC8 stays calm, while #B2DAAF is the loudest partner.
What is #d7afda in CMYK for printing?
cmyk(1%, 20%, 0%, 15%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #d7afda warm or cool?
Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DAAFCD; nudged cooler, #C7AEDB.