#D96DE7#D96DE7

#D96DE7 is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.5% C 0.201 H 322.9°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#D96DE7
RGBrgb(217, 109, 231)
HSLhsl(293, 72%, 67%)
HSVhsv(293, 53%, 91%)
CMYKcmyk(6.1%, 52.8%, 0%, 9.4%)
CIE-LABlab(62.89, 59.50, -43.77)
CIE-LCHlch(62.89, 73.87, 323.66°)
OKLaboklab(70.5% 0.1602 -0.1211)
OKLCHoklch(70.5% 0.201 322.9)
XYZxyz(48.5063, 31.4608, 79.1033)
Luminance0.3146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96DE7 #7BE76D
analogous
#9C6DE7 #D96DE7 #E76DB8
triadic
#D96DE7 #E7D96D #6DE7D9
tetradic
#D96DE7 #E79C6D #7BE76D #6DB8E7
square
#D96DE7 #E79C6D #7BE76D #6DB8E7
split-complementary
#D96DE7 #B8E76D #6DE79C
monochromatic
#A91FBB #CB38DE #D96DE7 #E7A2F0 #F4D6F8

Accessibility & contrast

On white

2.88
#D96DE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#D96DE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96DE7
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96DE7#FFFFFF#000000##000000
##D96DE71.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A90EB
Deuteranopia (green-blind)
#7D9DE4
Tritanopia (blue-blind)
#DC7DA0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d96de7;
/* rgb */ color: rgb(217, 109, 231);
/* oklch */ color: oklch(70.5% 0.201 322.9);
Tailwind
colors: {
  custom: {
    50: '#e79bef',
    500: '#d96de7',
    950: '#000000',
  },
}
SCSS
$custom: #d96de7;
$custom-light: #e79bef;
$custom-dark: #000000;
JSON
{
  "hex": "#d96de7",
  "rgb": {
    "r": 217,
    "g": 109,
    "b": 231
  },
  "hsl": {
    "h": 293.115,
    "s": 71.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70504,
    "c": 0.20077,
    "h": 322.9
  },
  "luminance": 0.31459
}

Semantic roles & 50–950 ramp

primary
#D96DE7
secondary
#C9ECC4
accent
#D41228
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D96DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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