#d95df9
a light, electric violet · neutral · closest name: Magenta
At a glance
Every number on this page in one read: what #d95df9 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 | #d95df9 |
| RGB | rgb(217, 93, 249) |
| HSL | hsl(288, 93%, 67%) |
| CMYK | cmyk(13%, 63%, 0%, 2%) |
| LAB | lab(61.1 70.1 -56.5) |
| LCH | lch(61.1 90.0 321.1) |
| OKLCH | oklch(0.695 0.240 318.8) |
| Decimal | 14245369 |
| Display P3 | color(display-p3 0.851 0.365 0.976) |
Copy-ready code
/* CSS */
color: #d95df9;
background-color: #d95df9;
/* Tailwind (arbitrary) */
class="text-[#d95df9] bg-[#d95df9]"
/* SCSS */
$brand: #d95df9;
/* SwiftUI */
Color(red: 0.851, green: 0.365, blue: 0.976)
/* Android */
Color.parseColor("#d95df9")
/* Flutter */
Color(0xFFD95DF9)
/* Python / OpenCV (BGR) */
(249, 93, 217)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. #d95df9 is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FBF2FD;
--brand-100: #F6E4FB;
--brand-200: #EEC2F9;
--brand-300: #E693FB;
--brand-400: #d95df9;
--brand-500: #CC27F7;
--brand-600: #BD09EC;
--brand-700: #9E07C5;
--brand-800: #7E069D;
--brand-900: #5C0972;
--brand-950: #3A0647;
--brand: #d95df9;
--brand-ink: #000000;
}Colors that work with #d95df9
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 #d95df9
Derived from its contrast, chroma and lightness — not from taste.
- ✓Headings from 24px up on white
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Card and section backgrounds
- ✓Brand accents, badges and data highlights
- ⚠Small text on white — under 4.5:1
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠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 | #7DF95D | Directly opposite — maximum tension | |
| Analogous left | #8B5DF9 | Neighbour, quieter | |
| Analogous right | #F95DCB | Neighbour, quieter | |
| Split-complement 1 | #CBF95D | Contrast without the clash | |
| Split-complement 2 | #5DF98B | Contrast without the clash | |
| Triadic 1 | #F9D95D | Even thirds — balanced and loud | |
| Triadic 2 | #5DF9D9 | Even thirds — balanced and loud | |
| Tetradic | #F98B5D | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#d95df9 text on a black background
contrast 6.88:1
#d95df9 text on a white background
contrast 3.05:1
CSS3 live lab
The quick brown fox
color: #d95df9;
background-color: #d95df9;
Glowing headline
text-shadow: 2px 2px 8px #d95df9;
Soft neon halo
text-shadow: 0 0 14px rgba(217, 93, 249, 0.45);
box-shadow: 0 12px 32px -8px rgba(217, 93, 249, 0.45);
border: 3px solid #d95df9; background: linear-gradient(135deg, #d95df9, #F95DB1);
Monochromatic scale
Palettes built from #d95df9
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: Magenta (#ff00ff) — ΔE2000 6.4 away, with its history, psychology and brand usage.
#d95df9 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#d95df9, answered
What color is #d95df9?
#d95df9 is a light electric violet, closest to Magenta (ΔE2000 6.4). It sits at 288° on the hue wheel with 93% saturation and 67% lightness, which reads as neutral.
What is the RGB value of #d95df9?
rgb(217, 93, 249) — 217 red, 93 green and 249 blue out of 255, or 85.1% / 36.5% / 97.6% by channel.
Is #d95df9 a light or a dark color?
It is a mid-tone. Relative luminance is 0.2942 and perceived brightness is 64%, so black text on it reaches 6.88:1.
Should I use black or white text on #d95df9?
Black. It scores 6.88:1 against #d95df9, versus 3.05:1 for white — AA at any size.
What is the complementary color of #d95df9?
#7DF95D sits directly opposite on the wheel. Softer options are the split-complements #CBF95D and #5DF98B, which give the same contrast with far less vibration.
What colors go well with #d95df9?
For interface work: #F9F4FA as the surface, #E3C0ED for borders, #8A4B9B for secondary text, #5DC804 as an accent and #63057B for hover and pressed states. For a palette, the analogous pair #8B5DF9 and #F95DCB stays calm, while #7DF95D is the loudest partner.
What is #d95df9 in CMYK for printing?
cmyk(13%, 63%, 0%, 2%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.
Is #d95df9 warm or cool?
Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F95DE0; nudged cooler, #A05BFB.