#D96AFD#D96AFD

#D96AFD is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.3% C 0.226 H 317.1°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#D96AFD
RGBrgb(217, 106, 253)
HSLhsl(285, 97%, 70%)
HSVhsv(285, 58%, 99%)
CMYKcmyk(14.2%, 58.1%, 0%, 0.8%)
CIE-LABlab(63.47, 65.07, -55.03)
CIE-LCHlch(63.47, 85.22, 319.78°)
OKLaboklab(71.28% 0.1655 -0.1537)
OKLCHoklch(71.28% 0.226 317.1)
XYZxyz(51.4964, 32.1535, 96.4031)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96AFD #8EFD6A
analogous
#8F6AFD #D96AFD #FD6AD8
triadic
#D96AFD #FDD96A #6AFDD9
tetradic
#D96AFD #FD8F6A #8EFD6A #6AD8FD
square
#D96AFD #FD8F6A #8EFD6A #6AD8FD
split-complementary
#D96AFD #D8FD6A #6AFD8F
monochromatic
#B103E9 #CA2EFC #D96AFD #E8A6FE #F7E1FF

Accessibility & contrast

On white

2.83
#D96AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#D96AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96AFD
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96AFD#FFFFFF#000000##000000
##D96AFD1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#6E9DF9
Tritanopia (blue-blind)
#D882AA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d96afd;
/* rgb */ color: rgb(217, 106, 253);
/* oklch */ color: oklch(71.3% 0.226 317.1);
Tailwind
colors: {
  custom: {
    50: '#e89aff',
    500: '#d96afd',
    950: '#000000',
  },
}
SCSS
$custom: #d96afd;
$custom-light: #e89aff;
$custom-dark: #000000;
JSON
{
  "hex": "#d96afd",
  "rgb": {
    "r": 217,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 285.306,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71281,
    "c": 0.2259,
    "h": 317.1
  },
  "luminance": 0.32152
}

Semantic roles & 50–950 ramp

primary
#D96AFD
secondary
#D7F6CD
accent
#E60038
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D96AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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