#D96DFF#D96DFF

#D96DFF is a light, highly saturated purple. Relative luminance 0.329; OKLCH L 71.8% C 0.224 H 316.4°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#D96DFF
RGBrgb(217, 109, 255)
HSLhsl(284, 100%, 71%)
HSVhsv(284, 57%, 100%)
CMYKcmyk(14.9%, 57.3%, 0%, 0%)
CIE-LABlab(64.09, 64.07, -55.15)
CIE-LCHlch(64.09, 84.54, 319.28°)
OKLaboklab(71.77% 0.1619 -0.1541)
OKLCHoklch(71.77% 0.224 316.4)
XYZxyz(52.1312, 32.9108, 98.1947)
Luminance0.3291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96DFF #93FF6D
analogous
#906DFF #D96DFF #FF6DDC
triadic
#D96DFF #FFD96D #6DFFD9
tetradic
#D96DFF #FF906D #93FF6D #6DDCFF
square
#D96DFF #FF906D #93FF6D #6DDCFF
split-complementary
#D96DFF #DCFF6D #6DFF90
monochromatic
#B300F2 #C930FF #D96DFF #E9AAFF #F7E0FF

Accessibility & contrast

On white

2.77
#D96DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#D96DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96DFF
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96DFF#FFFFFF#000000##000000
##D96DFF1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4695FF
Deuteranopia (green-blind)
#6F9FFB
Tritanopia (blue-blind)
#D785AC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d96dff;
/* rgb */ color: rgb(217, 109, 255);
/* oklch */ color: oklch(71.8% 0.224 316.4);
Tailwind
colors: {
  custom: {
    50: '#e89cff',
    500: '#d96dff',
    950: '#000000',
  },
}
SCSS
$custom: #d96dff;
$custom-light: #e89cff;
$custom-dark: #000000;
JSON
{
  "hex": "#d96dff",
  "rgb": {
    "r": 217,
    "g": 109,
    "b": 255
  },
  "hsl": {
    "h": 284.384,
    "s": 100,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71766,
    "c": 0.22354,
    "h": 316.4
  },
  "luminance": 0.32909
}

Semantic roles & 50–950 ramp

primary
#D96DFF
secondary
#DBF7D1
accent
#E6003C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D96DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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