#D96CFE#D96CFE

#D96CFE is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.6% C 0.224 H 316.7°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#D96CFE
RGBrgb(217, 108, 254)
HSLhsl(285, 99%, 71%)
HSVhsv(285, 57%, 100%)
CMYKcmyk(14.6%, 57.5%, 0%, 0.4%)
CIE-LABlab(63.86, 64.34, -54.95)
CIE-LCHlch(63.86, 84.62, 319.50°)
OKLaboklab(71.58% 0.1631 -0.1535)
OKLCHoklch(71.58% 0.224 316.7)
XYZxyz(51.8646, 32.6345, 97.3138)
Luminance0.3263 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96CFE #91FE6C
analogous
#906CFE #D96CFE #FE6CDA
triadic
#D96CFE #FED96C #6CFED9
tetradic
#D96CFE #FE906C #91FE6C #6CDAFE
square
#D96CFE #FE906C #91FE6C #6CDAFE
split-complementary
#D96CFE #DAFE6C #6CFE90
monochromatic
#B202EE #C92FFE #D96CFE #E9A9FE #F7E1FF

Accessibility & contrast

On white

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

On black

7.53
#D96CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96CFE
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96CFE#FFFFFF#000000##000000
##D96CFE1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#6F9EFA
Tritanopia (blue-blind)
#D784AB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d96cfe;
/* rgb */ color: rgb(217, 108, 254);
/* oklch */ color: oklch(71.6% 0.224 316.7);
Tailwind
colors: {
  custom: {
    50: '#e89bff',
    500: '#d96cfe',
    950: '#000000',
  },
}
SCSS
$custom: #d96cfe;
$custom-light: #e89bff;
$custom-dark: #000000;
JSON
{
  "hex": "#d96cfe",
  "rgb": {
    "r": 217,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 284.795,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71585,
    "c": 0.224,
    "h": 316.7
  },
  "luminance": 0.32633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D96CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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