#D96EF8#D96EF8

#D96EF8 is a light, highly saturated purple. Relative luminance 0.327; OKLCH L 71.5% C 0.215 H 318.1°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#D96EF8
RGBrgb(217, 110, 248)
HSLhsl(287, 91%, 70%)
HSVhsv(287, 56%, 97%)
CMYKcmyk(12.5%, 55.6%, 0%, 2.7%)
CIE-LABlab(63.90, 62.24, -51.59)
CIE-LCHlch(63.90, 80.84, 320.35°)
OKLaboklab(71.51% 0.1603 -0.1437)
OKLCHoklch(71.51% 0.215 318.1)
XYZxyz(51.1322, 32.6829, 92.4037)
Luminance0.3268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96EF8 #8DF86E
analogous
#946EF8 #D96EF8 #F86ED2
triadic
#D96EF8 #F8D96E #6EF8D9
tetradic
#D96EF8 #F8946E #8DF86E #6ED2F8
square
#D96EF8 #F8946E #8DF86E #6ED2F8
split-complementary
#D96EF8 #D2F86E #6EF894
monochromatic
#B10BE1 #CA34F5 #D96EF8 #E8A8FB #F7E2FE

Accessibility & contrast

On white

2.79
#D96EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#D96EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96EF8
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96EF8#FFFFFF#000000##000000
##D96EF81.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FC
Deuteranopia (green-blind)
#749EF4
Tritanopia (blue-blind)
#D984A9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d96ef8;
/* rgb */ color: rgb(217, 110, 248);
/* oklch */ color: oklch(71.5% 0.215 318.1);
Tailwind
colors: {
  custom: {
    50: '#e89cfb',
    500: '#d96ef8',
    950: '#000000',
  },
}
SCSS
$custom: #d96ef8;
$custom-light: #e89cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d96ef8",
  "rgb": {
    "r": 217,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 286.522,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71514,
    "c": 0.21534,
    "h": 318.1
  },
  "luminance": 0.32681
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D96EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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