#D96BE7#D96BE7

#D96BE7 is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.2% C 0.204 H 323.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#D96BE7
RGBrgb(217, 107, 231)
HSLhsl(293, 72%, 66%)
HSVhsv(293, 54%, 91%)
CMYKcmyk(6.1%, 53.7%, 0%, 9.4%)
CIE-LABlab(62.54, 60.45, -44.33)
CIE-LCHlch(62.54, 74.96, 323.75°)
OKLaboklab(70.24% 0.1628 -0.1227)
OKLCHoklch(70.24% 0.204 323)
XYZxyz(48.2953, 31.0390, 79.0330)
Luminance0.3104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96BE7 #79E76B
analogous
#9B6BE7 #D96BE7 #E76BB7
triadic
#D96BE7 #E7D96B #6BE7D9
tetradic
#D96BE7 #E79B6B #79E76B #6BB7E7
square
#D96BE7 #E79B6B #79E76B #6BB7E7
split-complementary
#D96BE7 #B7E76B #6BE79B
monochromatic
#A81EBA #CB36DE #D96BE7 #E7A0F0 #F4D4F8

Accessibility & contrast

On white

2.91
#D96BE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#D96BE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96BE7
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96BE7#FFFFFF#000000##000000
##D96BE71.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#588FEB
Deuteranopia (green-blind)
#7B9CE4
Tritanopia (blue-blind)
#DC7C9F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d96be7;
/* rgb */ color: rgb(217, 107, 231);
/* oklch */ color: oklch(70.2% 0.204 323.0);
Tailwind
colors: {
  custom: {
    50: '#e79aef',
    500: '#d96be7',
    950: '#000000',
  },
}
SCSS
$custom: #d96be7;
$custom-light: #e79aef;
$custom-dark: #000000;
JSON
{
  "hex": "#d96be7",
  "rgb": {
    "r": 217,
    "g": 107,
    "b": 231
  },
  "hsl": {
    "h": 293.226,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70243,
    "c": 0.2038,
    "h": 323
  },
  "luminance": 0.31037
}

Semantic roles & 50–950 ramp

primary
#D96BE7
secondary
#C7EBC3
accent
#D41127
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D96BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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