#D960E2#D960E2

#D960E2 is a light, highly saturated purple. Relative luminance 0.286; OKLCH L 68.6% C 0.215 H 324.8°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#D960E2
RGBrgb(217, 96, 226)
HSLhsl(296, 69%, 63%)
HSVhsv(296, 58%, 89%)
CMYKcmyk(4%, 57.5%, 0%, 11.4%)
CIE-LABlab(60.44, 64.58, -44.85)
CIE-LCHlch(60.44, 78.63, 325.22°)
OKLaboklab(68.63% 0.1762 -0.1241)
OKLCHoklch(68.63% 0.215 324.8)
XYZxyz(46.5245, 28.6110, 75.0087)
Luminance0.2861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D960E2 #69E260
analogous
#9860E2 #D960E2 #E260AA
triadic
#D960E2 #E2D960 #60E2D9
tetradic
#D960E2 #E29860 #69E260 #60AAE2
square
#D960E2 #E29860 #69E260 #60AAE2
split-complementary
#D960E2 #AAE260 #60E298
monochromatic
#9F1FA9 #CD2CD9 #D960E2 #E594EB #F2C8F5

Accessibility & contrast

On white

3.12
#D960E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#D960E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D960E2
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D960E2#FFFFFF#000000##000000
##D960E21.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C88E6
Deuteranopia (green-blind)
#7697DE
Tritanopia (blue-blind)
#DD7298
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d960e2;
/* rgb */ color: rgb(217, 96, 226);
/* oklch */ color: oklch(68.6% 0.215 324.8);
Tailwind
colors: {
  custom: {
    50: '#e893eb',
    500: '#d960e2',
    950: '#000000',
  },
}
SCSS
$custom: #d960e2;
$custom-light: #e893eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d960e2",
  "rgb": {
    "r": 217,
    "g": 96,
    "b": 226
  },
  "hsl": {
    "h": 295.846,
    "s": 69.149,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68625,
    "c": 0.21549,
    "h": 324.8
  },
  "luminance": 0.28608
}

Semantic roles & 50–950 ramp

primary
#D960E2
secondary
#BBE6B8
accent
#D11421
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D960E2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D960E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva