#D96FFC#D96FFC

#D96FFC is a light, highly saturated purple. Relative luminance 0.331; OKLCH L 71.9% C 0.218 H 317.0°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#D96FFC
RGBrgb(217, 111, 252)
HSLhsl(285, 96%, 71%)
HSVhsv(285, 56%, 99%)
CMYKcmyk(13.9%, 56%, 0%, 1.2%)
CIE-LABlab(64.28, 62.55, -53.19)
CIE-LCHlch(64.28, 82.10, 319.62°)
OKLaboklab(71.86% 0.1593 -0.1484)
OKLCHoklch(71.86% 0.218 317)
XYZxyz(51.8678, 33.1507, 95.7431)
Luminance0.3315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96FFC #92FC6F
analogous
#926FFC #D96FFC #FC6FD9
triadic
#D96FFC #FCD96F #6FFCD9
tetradic
#D96FFC #FC926F #92FC6F #6FD9FC
square
#D96FFC #FC926F #92FC6F #6FD9FC
split-complementary
#D96FFC #D9FC6F #6FFC92
monochromatic
#B205EC #C933FB #D96FFC #E9ABFD #F7E1FE

Accessibility & contrast

On white

2.75
#D96FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#D96FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96FFC
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96FFC#FFFFFF#000000##000000
##D96FFC1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D95FF
Deuteranopia (green-blind)
#729FF8
Tritanopia (blue-blind)
#D886AB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d96ffc;
/* rgb */ color: rgb(217, 111, 252);
/* oklch */ color: oklch(71.9% 0.218 317.0);
Tailwind
colors: {
  custom: {
    50: '#e89dfe',
    500: '#d96ffc',
    950: '#000000',
  },
}
SCSS
$custom: #d96ffc;
$custom-light: #e89dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d96ffc",
  "rgb": {
    "r": 217,
    "g": 111,
    "b": 252
  },
  "hsl": {
    "h": 285.106,
    "s": 95.918,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71858,
    "c": 0.21774,
    "h": 317
  },
  "luminance": 0.33149
}

Semantic roles & 50–950 ramp

primary
#D96FFC
secondary
#DAF6D1
accent
#E60039
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D96FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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