#D96AF7#D96AF7

#D96AF7 is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 71.0% C 0.220 H 318.6°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#D96AF7
RGBrgb(217, 106, 247)
HSLhsl(287, 90%, 69%)
HSVhsv(287, 57%, 97%)
CMYKcmyk(12.1%, 57.1%, 0%, 3.1%)
CIE-LABlab(63.16, 63.92, -52.22)
CIE-LCHlch(63.16, 82.54, 320.75°)
OKLaboklab(70.95% 0.1652 -0.1456)
OKLCHoklch(70.95% 0.22 318.6)
XYZxyz(50.5556, 31.7772, 91.4482)
Luminance0.3177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96AF7 #88F76A
analogous
#936AF7 #D96AF7 #F76ACF
triadic
#D96AF7 #F7D96A #6AF7D9
tetradic
#D96AF7 #F7936A #88F76A #6ACFF7
square
#D96AF7 #F7936A #88F76A #6ACFF7
split-complementary
#D96AF7 #CFF76A #6AF793
monochromatic
#AF0CDB #CA30F4 #D96AF7 #E8A4FA #F7DEFD

Accessibility & contrast

On white

2.86
#D96AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#D96AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96AF7
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96AF7#FFFFFF#000000##000000
##D96AF71.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FB
Deuteranopia (green-blind)
#729DF3
Tritanopia (blue-blind)
#D980A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d96af7;
/* rgb */ color: rgb(217, 106, 247);
/* oklch */ color: oklch(71.0% 0.220 318.6);
Tailwind
colors: {
  custom: {
    50: '#e89afa',
    500: '#d96af7',
    950: '#000000',
  },
}
SCSS
$custom: #d96af7;
$custom-light: #e89afa;
$custom-dark: #000000;
JSON
{
  "hex": "#d96af7",
  "rgb": {
    "r": 217,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 287.234,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70953,
    "c": 0.22021,
    "h": 318.6
  },
  "luminance": 0.31775
}

Semantic roles & 50–950 ramp

primary
#D96AF7
secondary
#D3F3CA
accent
#E60031
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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