#D96FF7#D96FF7

#D96FF7 is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 71.6% C 0.213 H 318.3°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#D96FF7
RGBrgb(217, 111, 247)
HSLhsl(287, 89%, 70%)
HSVhsv(287, 55%, 97%)
CMYKcmyk(12.1%, 55.1%, 0%, 3.1%)
CIE-LABlab(64.03, 61.57, -50.84)
CIE-LCHlch(64.03, 79.85, 320.46°)
OKLaboklab(71.59% 0.159 -0.1416)
OKLCHoklch(71.59% 0.213 318.3)
XYZxyz(51.0859, 32.8380, 91.6250)
Luminance0.3284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96FF7 #8DF76F
analogous
#956FF7 #D96FF7 #F76FD1
triadic
#D96FF7 #F7D96F #6FF7D9
tetradic
#D96FF7 #F7956F #8DF76F #6FD1F7
square
#D96FF7 #F7956F #8DF76F #6FD1F7
split-complementary
#D96FF7 #D1F76F #6FF795
monochromatic
#B10CDF #CA35F4 #D96FF7 #E8A9FA #F7E2FD

Accessibility & contrast

On white

2.78
#D96FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#D96FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96FF7
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96FF7#FFFFFF#000000##000000
##D96FF71.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5194FB
Deuteranopia (green-blind)
#769FF3
Tritanopia (blue-blind)
#D984A9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d96ff7;
/* rgb */ color: rgb(217, 111, 247);
/* oklch */ color: oklch(71.6% 0.213 318.3);
Tailwind
colors: {
  custom: {
    50: '#e79dfa',
    500: '#d96ff7',
    950: '#000000',
  },
}
SCSS
$custom: #d96ff7;
$custom-light: #e79dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d96ff7",
  "rgb": {
    "r": 217,
    "g": 111,
    "b": 247
  },
  "hsl": {
    "h": 286.765,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7159,
    "c": 0.2129,
    "h": 318.3
  },
  "luminance": 0.32836
}

Semantic roles & 50–950 ramp

primary
#D96FF7
secondary
#D6F4CE
accent
#E60033
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D96FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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