#D960C5#D960C5

#D960C5 is a light, vivid purple. Relative luminance 0.271; OKLCH L 67.2% C 0.191 H 334.3°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#D960C5
RGBrgb(217, 96, 197)
HSLhsl(310, 61%, 61%)
HSVhsv(310, 56%, 85%)
CMYKcmyk(0%, 55.8%, 9.2%, 14.9%)
CIE-LABlab(59.11, 59.70, -30.54)
CIE-LCHlch(59.11, 67.06, 332.91°)
OKLaboklab(67.22% 0.1726 -0.083)
OKLCHoklch(67.22% 0.191 334.3)
XYZxyz(42.8763, 27.1518, 55.7950)
Luminance0.2715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D960C5 #60D974
analogous
#B160D9 #D960C5 #D96089
triadic
#D960C5 #C5D960 #60C5D9
tetradic
#D960C5 #D9B160 #60D974 #6089D9
square
#D960C5 #D9B160 #60D974 #6089D9
split-complementary
#D960C5 #89D960 #60D9B1
monochromatic
#9A2586 #CB31B2 #D960C5 #E591D7 #F1C3E9

Accessibility & contrast

On white

3.27
#D960C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#D960C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D960C5
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D960C5#FFFFFF#000000##000000
##D960C51.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F83C8
Deuteranopia (green-blind)
#8395C2
Tritanopia (blue-blind)
#E2678A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d960c5;
/* rgb */ color: rgb(217, 96, 197);
/* oklch */ color: oklch(67.2% 0.191 334.3);
Tailwind
colors: {
  custom: {
    50: '#e793d7',
    500: '#d960c5',
    950: '#000000',
  },
}
SCSS
$custom: #d960c5;
$custom-light: #e793d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d960c5",
  "rgb": {
    "r": 217,
    "g": 96,
    "b": 197
  },
  "hsl": {
    "h": 309.917,
    "s": 61.421,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67224,
    "c": 0.19148,
    "h": 334.3
  },
  "luminance": 0.27149
}

Semantic roles & 50–950 ramp

primary
#D960C5
secondary
#B4E1BB
accent
#C9391C
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D960C5

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

Preview Lab → · Contrast checker → · Palette generator →

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