#D96CFD#D96CFD

#D96CFD is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.5% C 0.223 H 317.0°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#D96CFD
RGBrgb(217, 108, 253)
HSLhsl(285, 97%, 71%)
HSVhsv(285, 57%, 99%)
CMYKcmyk(14.2%, 57.3%, 0%, 0.8%)
CIE-LABlab(63.81, 64.15, -54.49)
CIE-LCHlch(63.81, 84.16, 319.66°)
OKLaboklab(71.53% 0.1631 -0.1522)
OKLCHoklch(71.53% 0.223 317)
XYZxyz(51.7049, 32.5706, 96.4726)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96CFD #90FD6C
analogous
#906CFD #D96CFD #FD6CD9
triadic
#D96CFD #FDD96C #6CFDD9
tetradic
#D96CFD #FD906C #90FD6C #6CD9FD
square
#D96CFD #FD906C #90FD6C #6CD9FD
split-complementary
#D96CFD #D9FD6C #6CFD90
monochromatic
#B203EB #C930FC #D96CFD #E9A8FE #F7E1FF

Accessibility & contrast

On white

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

On black

7.51
#D96CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96CFD
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96CFD#FFFFFF#000000##000000
##D96CFD1.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#6F9EF9
Tritanopia (blue-blind)
#D884AB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d96cfd;
/* rgb */ color: rgb(217, 108, 253);
/* oklch */ color: oklch(71.5% 0.223 317.0);
Tailwind
colors: {
  custom: {
    50: '#e89bff',
    500: '#d96cfd',
    950: '#000000',
  },
}
SCSS
$custom: #d96cfd;
$custom-light: #e89bff;
$custom-dark: #000000;
JSON
{
  "hex": "#d96cfd",
  "rgb": {
    "r": 217,
    "g": 108,
    "b": 253
  },
  "hsl": {
    "h": 285.103,
    "s": 97.315,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7153,
    "c": 0.22304,
    "h": 317
  },
  "luminance": 0.32569
}

Semantic roles & 50–950 ramp

primary
#D96CFD
secondary
#D9F6CF
accent
#E60039
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D96CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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