#D96AF8#D96AF8

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

Color values

HEX#D96AF8
RGBrgb(217, 106, 248)
HSLhsl(287, 91%, 69%)
HSVhsv(287, 57%, 97%)
CMYKcmyk(12.5%, 57.3%, 0%, 2.7%)
CIE-LABlab(63.21, 64.11, -52.69)
CIE-LCHlch(63.21, 82.98, 320.58°)
OKLaboklab(71.01% 0.1653 -0.1469)
OKLCHoklch(71.01% 0.221 318.4)
XYZxyz(50.7103, 31.8391, 92.2631)
Luminance0.3184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96AF8 #89F86A
analogous
#926AF8 #D96AF8 #F86AD0
triadic
#D96AF8 #F8D96A #6AF8D9
tetradic
#D96AF8 #F8926A #89F86A #6AD0F8
square
#D96AF8 #F8926A #89F86A #6AD0F8
split-complementary
#D96AF8 #D0F86A #6AF892
monochromatic
#AF0ADD #CA30F5 #D96AF8 #E8A4FB #F7DFFD

Accessibility & contrast

On white

2.85
#D96AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#D96AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96AF8
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96AF8#FFFFFF#000000##000000
##D96AF81.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4892FD
Deuteranopia (green-blind)
#719DF4
Tritanopia (blue-blind)
#D981A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d96af8;
/* rgb */ color: rgb(217, 106, 248);
/* oklch */ color: oklch(71.0% 0.221 318.4);
Tailwind
colors: {
  custom: {
    50: '#e89afb',
    500: '#d96af8',
    950: '#000000',
  },
}
SCSS
$custom: #d96af8;
$custom-light: #e89afb;
$custom-dark: #000000;
JSON
{
  "hex": "#d96af8",
  "rgb": {
    "r": 217,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 286.901,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71007,
    "c": 0.22115,
    "h": 318.4
  },
  "luminance": 0.31837
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D96AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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