#D960F8#D960F8

#D960F8 is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.8% C 0.235 H 318.9°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#D960F8
RGBrgb(217, 96, 248)
HSLhsl(288, 92%, 67%)
HSVhsv(288, 61%, 97%)
CMYKcmyk(12.5%, 61.3%, 0%, 2.7%)
CIE-LABlab(61.57, 68.59, -55.30)
CIE-LCHlch(61.57, 88.11, 321.12°)
OKLaboklab(69.81% 0.1772 -0.1545)
OKLCHoklch(69.81% 0.235 318.9)
XYZxyz(49.7392, 29.8969, 91.9394)
Luminance0.2989 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D960F8 #7FF860
analogous
#8D60F8 #D960F8 #F860CB
triadic
#D960F8 #F8D960 #60F8D9
tetradic
#D960F8 #F88D60 #7FF860 #60CBF8
square
#D960F8 #F88D60 #7FF860 #60CBF8
split-complementary
#D960F8 #CBF860 #60F88D
monochromatic
#AB09D4 #CB25F5 #D960F8 #E79BFB #F5D5FD

Accessibility & contrast

On white

3.01
#D960F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#D960F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D960F8
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D960F8#FFFFFF#000000##000000
##D960F81.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#368DFD
Deuteranopia (green-blind)
#6999F4
Tritanopia (blue-blind)
#D97AA4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d960f8;
/* rgb */ color: rgb(217, 96, 248);
/* oklch */ color: oklch(69.8% 0.235 318.9);
Tailwind
colors: {
  custom: {
    50: '#e894fb',
    500: '#d960f8',
    950: '#000000',
  },
}
SCSS
$custom: #d960f8;
$custom-light: #e894fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d960f8",
  "rgb": {
    "r": 217,
    "g": 96,
    "b": 248
  },
  "hsl": {
    "h": 287.763,
    "s": 91.566,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69811,
    "c": 0.23507,
    "h": 318.9
  },
  "luminance": 0.29895
}

Semantic roles & 50–950 ramp

primary
#D960F8
secondary
#CCF2C2
accent
#E6002F
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D960F8

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

Preview Lab → · Contrast checker → · Palette generator →

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