#D96AF0#D96AF0

#D96AF0 is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 70.6% C 0.214 H 320.5°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#D96AF0
RGBrgb(217, 106, 240)
HSLhsl(290, 82%, 68%)
HSVhsv(290, 56%, 94%)
CMYKcmyk(9.6%, 55.8%, 0%, 5.9%)
CIE-LABlab(62.80, 62.59, -48.91)
CIE-LCHlch(62.80, 79.43, 322.00°)
OKLaboklab(70.58% 0.1648 -0.1359)
OKLCHoklch(70.58% 0.214 320.5)
XYZxyz(49.4956, 31.3532, 85.8658)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96AF0 #81F06A
analogous
#966AF0 #D96AF0 #F06AC4
triadic
#D96AF0 #F0D96A #6AF0D9
tetradic
#D96AF0 #F0966A #81F06A #6AC4F0
square
#D96AF0 #F0966A #81F06A #6AC4F0
split-complementary
#D96AF0 #C4F06A #6AF096
monochromatic
#AC14CB #CB32EA #D96AF0 #E7A2F6 #F5D9FB

Accessibility & contrast

On white

2.89
#D96AF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#D96AF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96AF0
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96AF0#FFFFFF#000000##000000
##D96AF01.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F90F4
Deuteranopia (green-blind)
#769CEC
Tritanopia (blue-blind)
#DA7EA3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d96af0;
/* rgb */ color: rgb(217, 106, 240);
/* oklch */ color: oklch(70.6% 0.214 320.5);
Tailwind
colors: {
  custom: {
    50: '#e89af5',
    500: '#d96af0',
    950: '#000000',
  },
}
SCSS
$custom: #d96af0;
$custom-light: #e89af5;
$custom-dark: #000000;
JSON
{
  "hex": "#d96af0",
  "rgb": {
    "r": 217,
    "g": 106,
    "b": 240
  },
  "hsl": {
    "h": 289.701,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.7058,
    "c": 0.21363,
    "h": 320.5
  },
  "luminance": 0.31351
}

Semantic roles & 50–950 ramp

primary
#D96AF0
secondary
#CDF0C6
accent
#DE072C
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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