#D96FD8#D96FD8

#D96FD8 is a light, vivid purple. Relative luminance 0.311; OKLCH L 70.0% C 0.184 H 327.7°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#D96FD8
RGBrgb(217, 111, 216)
HSLhsl(301, 58%, 64%)
HSVhsv(301, 49%, 85%)
CMYKcmyk(0%, 48.8%, 0.5%, 14.9%)
CIE-LABlab(62.58, 55.84, -35.89)
CIE-LCHlch(62.58, 66.38, 327.27°)
OKLaboklab(70.05% 0.1555 -0.0984)
OKLCHoklch(70.05% 0.184 327.7)
XYZxyz(46.6936, 31.0810, 68.4922)
Luminance0.3108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96FD8 #6FD970
analogous
#A56FD9 #D96FD8 #D96FA3
triadic
#D96FD8 #D8D96F #6FD8D9
tetradic
#D96FD8 #D9A56F #6FD970 #6FA3D9
square
#D96FD8 #D9A56F #6FD970 #6FA3D9
split-complementary
#D96FD8 #A3D96F #6FD9A5
monochromatic
#A32BA2 #CC3FCB #D96FD8 #E69FE5 #F3D0F2

Accessibility & contrast

On white

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

On black

7.22
#D96FD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96FD8
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96FD8#FFFFFF#000000##000000
##D96FD81.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#668EDC
Deuteranopia (green-blind)
#859CD5
Tritanopia (blue-blind)
#DF7A9A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d96fd8;
/* rgb */ color: rgb(217, 111, 216);
/* oklch */ color: oklch(70.0% 0.184 327.7);
Tailwind
colors: {
  custom: {
    50: '#e79ce4',
    500: '#d96fd8',
    950: '#000000',
  },
}
SCSS
$custom: #d96fd8;
$custom-light: #e79ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#d96fd8",
  "rgb": {
    "r": 217,
    "g": 111,
    "b": 216
  },
  "hsl": {
    "h": 300.566,
    "s": 58.242,
    "l": 64.314
  },
  "oklch": {
    "l": 0.70046,
    "c": 0.184,
    "h": 327.7
  },
  "luminance": 0.31078
}

Semantic roles & 50–950 ramp

primary
#D96FD8
secondary
#C0E4C0
accent
#C62120
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160E15
muted
#847E84

Preview Lab

Preview with #D96FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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