#D96AFE#D96AFE

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

Color values

HEX#D96AFE
RGBrgb(217, 106, 254)
HSLhsl(285, 99%, 71%)
HSVhsv(285, 58%, 100%)
CMYKcmyk(14.6%, 58.3%, 0%, 0.4%)
CIE-LABlab(63.52, 65.27, -55.50)
CIE-LCHlch(63.52, 85.67, 319.63°)
OKLaboklab(71.34% 0.1655 -0.1551)
OKLCHoklch(71.34% 0.227 316.9)
XYZxyz(51.6561, 32.2174, 97.2443)
Luminance0.3222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96AFE #8FFE6A
analogous
#8F6AFE #D96AFE #FE6AD9
triadic
#D96AFE #FED96A #6AFED9
tetradic
#D96AFE #FE8F6A #8FFE6A #6AD9FE
square
#D96AFE #FE8F6A #8FFE6A #6AD9FE
split-complementary
#D96AFE #D9FE6A #6AFE8F
monochromatic
#B102EC #C92DFE #D96AFE #E9A7FE #F7E1FF

Accessibility & contrast

On white

2.82
#D96AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#D96AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96AFE
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96AFE#FFFFFF#000000##000000
##D96AFE1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4293FF
Deuteranopia (green-blind)
#6D9DFA
Tritanopia (blue-blind)
#D783AA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d96afe;
/* rgb */ color: rgb(217, 106, 254);
/* oklch */ color: oklch(71.3% 0.227 316.9);
Tailwind
colors: {
  custom: {
    50: '#e89aff',
    500: '#d96afe',
    950: '#000000',
  },
}
SCSS
$custom: #d96afe;
$custom-light: #e89aff;
$custom-dark: #000000;
JSON
{
  "hex": "#d96afe",
  "rgb": {
    "r": 217,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 285,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71336,
    "c": 0.22685,
    "h": 316.9
  },
  "luminance": 0.32216
}

Semantic roles & 50–950 ramp

primary
#D96AFE
secondary
#D8F6CE
accent
#E60039
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D96AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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