#D96BF7#D96BF7

#D96BF7 is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 71.1% C 0.219 H 318.6°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#D96BF7
RGBrgb(217, 107, 247)
HSLhsl(287, 90%, 69%)
HSVhsv(287, 57%, 97%)
CMYKcmyk(12.1%, 56.7%, 0%, 3.1%)
CIE-LABlab(63.33, 63.45, -51.95)
CIE-LCHlch(63.33, 82.00, 320.69°)
OKLaboklab(71.08% 0.164 -0.1448)
OKLCHoklch(71.08% 0.219 318.6)
XYZxyz(50.6592, 31.9845, 91.4828)
Luminance0.3198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96BF7 #89F76B
analogous
#936BF7 #D96BF7 #F76BCF
triadic
#D96BF7 #F7D96B #6BF7D9
tetradic
#D96BF7 #F7936B #89F76B #6BCFF7
square
#D96BF7 #F7936B #89F76B #6BCFF7
split-complementary
#D96BF7 #CFF76B #6BF793
monochromatic
#AF0CDC #CA31F4 #D96BF7 #E8A5FA #F7DFFD

Accessibility & contrast

On white

2.84
#D96BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#D96BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96BF7
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96BF7#FFFFFF#000000##000000
##D96BF71.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B92FB
Deuteranopia (green-blind)
#729DF3
Tritanopia (blue-blind)
#D981A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d96bf7;
/* rgb */ color: rgb(217, 107, 247);
/* oklch */ color: oklch(71.1% 0.219 318.6);
Tailwind
colors: {
  custom: {
    50: '#e89afa',
    500: '#d96bf7',
    950: '#000000',
  },
}
SCSS
$custom: #d96bf7;
$custom-light: #e89afa;
$custom-dark: #000000;
JSON
{
  "hex": "#d96bf7",
  "rgb": {
    "r": 217,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 287.143,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71078,
    "c": 0.21876,
    "h": 318.6
  },
  "luminance": 0.31983
}

Semantic roles & 50–950 ramp

primary
#D96BF7
secondary
#D3F3CB
accent
#E60031
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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