#D960F2#D960F2

#D960F2 is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.5% C 0.230 H 320.4°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#D960F2
RGBrgb(217, 96, 242)
HSLhsl(290, 85%, 66%)
HSVhsv(290, 60%, 95%)
CMYKcmyk(10.3%, 60.3%, 0%, 5.1%)
CIE-LABlab(61.25, 67.47, -52.49)
CIE-LCHlch(61.25, 85.48, 322.12°)
OKLaboklab(69.48% 0.1771 -0.1463)
OKLCHoklch(69.48% 0.23 320.4)
XYZxyz(48.8232, 29.5305, 87.1154)
Luminance0.2953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D960F2 #79F260
analogous
#9060F2 #D960F2 #F260C2
triadic
#D960F2 #F2D960 #60F2D9
tetradic
#D960F2 #F29060 #79F260 #60C2F2
square
#D960F2 #F29060 #79F260 #60C2F2
split-complementary
#D960F2 #C2F260 #60F290
monochromatic
#A810C7 #CB27ED #D960F2 #E799F7 #F4D1FB

Accessibility & contrast

On white

3.04
#D960F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#D960F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D960F2
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D960F2#FFFFFF#000000##000000
##D960F21.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8BF6
Deuteranopia (green-blind)
#6D98EE
Tritanopia (blue-blind)
#DA77A1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d960f2;
/* rgb */ color: rgb(217, 96, 242);
/* oklch */ color: oklch(69.5% 0.230 320.4);
Tailwind
colors: {
  custom: {
    50: '#e894f7',
    500: '#d960f2',
    950: '#000000',
  },
}
SCSS
$custom: #d960f2;
$custom-light: #e894f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d960f2",
  "rgb": {
    "r": 217,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 289.726,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69477,
    "c": 0.22966,
    "h": 320.4
  },
  "luminance": 0.29528
}

Semantic roles & 50–950 ramp

primary
#D960F2
secondary
#C7EFBF
accent
#E1042A
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D960F2

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

Preview Lab → · Contrast checker → · Palette generator →

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