Skip to content

#d960fd

a light, electric violet · neutral · closest name: Magenta

RGB
217, 96, 253
HSL
286°, 98%, 68%
CMYK
14, 62, 0, 1
Luminance
0.3021

At a glance

Every number on this page in one read: what #d960fd is made of, how bright it looks, and which way it leans.

Hex
#d960fd
Hue
286°
violet
Saturation
98%
electric
Lightness
68%
light
Brightness
99%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3021
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.04:1
Closest name
Magenta
ΔE2000 6.9
Where it sits
Hue286° of 360°
Saturation98%
Lightness68%
Temperature
Warm ← → Cool58% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#d960fd
RGBrgb(217, 96, 253)
HSLhsl(286, 98%, 68%)
CMYKcmyk(14%, 62%, 0%, 1%)
LABlab(61.8 69.5 -57.6)
LCHlch(61.8 90.3 320.4)
OKLCHoklch(0.701 0.240 317.7)
Decimal14246141
Display P3color(display-p3 0.851 0.376 0.992)

Copy-ready code

/* CSS */
color: #d960fd;
background-color: #d960fd;
/* Tailwind (arbitrary) */
class="text-[#d960fd] bg-[#d960fd]"
/* SCSS */
$brand: #d960fd;
/* SwiftUI */
Color(red: 0.851, green: 0.376, blue: 0.992)
/* Android */
Color.parseColor("#d960fd")
/* Flutter */
Color(0xFFD960FD)
/* Python / OpenCV (BGR) */
(253, 96, 217)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #d960fd · 7.04:1
Use #000000AAA at every size.
Aa
White text · 2.98:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.04:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #d960fd as text scores 2.98:1 on white and 7.04:1 on black.

Accessibility — WCAG contrast

Aa
#d960fd on white: 2.98:1
AA ✗ fail · AA-large · AAA
Aa
#d960fd on black: 7.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2E8EFF
deuteranopia · #6699F9
tritanopia · #D87BA6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d960fd 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.

#FBF1FD
#F6E4FC
#EEC1FB
#E490FE
#d960fd
#CA21FC
#BB03F2
#9C03C9
#7D02A1
#5B0674
#390449
Base = 400Lightest = 50 · #FBF1FDDarkest = 950 · #390449
:root {
  --brand-50: #FBF1FD;
  --brand-100: #F6E4FC;
  --brand-200: #EEC1FB;
  --brand-300: #E490FE;
  --brand-400: #d960fd;
  --brand-500: #CA21FC;
  --brand-600: #BB03F2;
  --brand-700: #9C03C9;
  --brand-800: #7D02A1;
  --brand-900: #5B0674;
  --brand-950: #390449;
  --brand: #d960fd;
  --brand-ink: #000000;
}

Colors that work with #d960fd

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F9F4FA
Tinted page background
Border#E2C0ED
Hairlines and dividers
Muted text#884B9B
Captions on the surface
Accent#62CC00
Second voice, not a rival
Dark variant#61027E
Hover, pressed, headers
Light variant#F9E6FF
Selected rows, tints
Dark surface#211424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #d960fd

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • 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
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#84FD60
Analogous left#8A60FD
Analogous right#FD60D3
Split-complement 1#D3FD60
Split-complement 2#60FD8A
Triadic 1#FDD960
Triadic 2#60FDD9
Tetradic#FD8A60

RGB percentages

Red85.1%
Green37.6%
Blue99.2%

CMYK percentages

Cyan14.2%
Magenta62.1%
Yellow0.0%
Key (black)0.8%

Color previews

#d960fd text on a black background

contrast 7.04:1

Card sample

#d960fd text on a white background

contrast 2.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #d960fd;
Background color
Panel with #d960fd background
background-color: #d960fd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #d960fd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(217, 96, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(217, 96, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d960fd;
background: linear-gradient(135deg, #d960fd, #FD60B8);

Monochromatic scale

Palettes built from #d960fd

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.

#d960fd in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#d960fd, answered

What color is #d960fd?

#d960fd is a light electric violet, closest to Magenta (ΔE2000 6.9). It sits at 286° on the hue wheel with 98% saturation and 68% lightness, which reads as neutral.

What is the RGB value of #d960fd?

rgb(217, 96, 253) — 217 red, 96 green and 253 blue out of 255, or 85.1% / 37.6% / 99.2% by channel.

Is #d960fd a light or a dark color?

It is a mid-tone. Relative luminance is 0.3021 and perceived brightness is 64%, so black text on it reaches 7.04:1.

Should I use black or white text on #d960fd?

Black. It scores 7.04:1 against #d960fd, versus 2.98:1 for white — AAA at any size.

What is the complementary color of #d960fd?

#84FD60 sits directly opposite on the wheel. Softer options are the split-complements #D3FD60 and #60FD8A, which give the same contrast with far less vibration.

What colors go well with #d960fd?

For interface work: #F9F4FA as the surface, #E2C0ED for borders, #884B9B for secondary text, #62CC00 as an accent and #61027E for hover and pressed states. For a palette, the analogous pair #8A60FD and #FD60D3 stays calm, while #84FD60 is the loudest partner.

What is #d960fd in CMYK for printing?

cmyk(14%, 62%, 0%, 1%). 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 #d960fd warm or cool?

Neutral — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FD60E8; nudged cooler, #9F5EFF.

Work with #d960fd in the Color Lab