#D960F9#D960F9

#D960F9 is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 69.9% C 0.236 H 318.7°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#D960F9
RGBrgb(217, 96, 249)
HSLhsl(287, 93%, 68%)
HSVhsv(287, 61%, 98%)
CMYKcmyk(12.9%, 61.4%, 0%, 2.4%)
CIE-LABlab(61.62, 68.78, -55.77)
CIE-LCHlch(61.62, 88.55, 320.96°)
OKLaboklab(69.87% 0.1772 -0.1558)
OKLCHoklch(69.87% 0.236 318.7)
XYZxyz(49.8947, 29.9591, 92.7587)
Luminance0.2996 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D960F9 #80F960
analogous
#8C60F9 #D960F9 #F960CC
triadic
#D960F9 #F9D960 #60F9D9
tetradic
#D960F9 #F98C60 #80F960 #60CCF9
square
#D960F9 #F98C60 #80F960 #60CCF9
split-complementary
#D960F9 #CCF960 #60F98C
monochromatic
#AB08D7 #CB25F7 #D960F9 #E79BFB #F5D6FD

Accessibility & contrast

On white

3.00
#D960F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#D960F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D960F9
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D960F9#FFFFFF#000000##000000
##D960F91.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#348DFE
Deuteranopia (green-blind)
#6899F5
Tritanopia (blue-blind)
#D97AA4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d960f9;
/* rgb */ color: rgb(217, 96, 249);
/* oklch */ color: oklch(69.9% 0.236 318.7);
Tailwind
colors: {
  custom: {
    50: '#e894fc',
    500: '#d960f9',
    950: '#000000',
  },
}
SCSS
$custom: #d960f9;
$custom-light: #e894fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d960f9",
  "rgb": {
    "r": 217,
    "g": 96,
    "b": 249
  },
  "hsl": {
    "h": 287.451,
    "s": 92.727,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69867,
    "c": 0.23597,
    "h": 318.7
  },
  "luminance": 0.29957
}

Semantic roles & 50–950 ramp

primary
#D960F9
secondary
#CDF2C3
accent
#E60030
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D960F9

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

Preview Lab → · Contrast checker → · Palette generator →

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