#D96FFB#D96FFB

#D96FFB is a light, highly saturated purple. Relative luminance 0.331; OKLCH L 71.8% C 0.217 H 317.3°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#D96FFB
RGBrgb(217, 111, 251)
HSLhsl(285, 95%, 71%)
HSVhsv(285, 56%, 98%)
CMYKcmyk(13.5%, 55.8%, 0%, 1.6%)
CIE-LABlab(64.23, 62.35, -52.72)
CIE-LCHlch(64.23, 81.65, 319.78°)
OKLaboklab(71.8% 0.1593 -0.147)
OKLCHoklch(71.8% 0.217 317.3)
XYZxyz(51.7098, 33.0875, 94.9107)
Luminance0.3309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96FFB #91FB6F
analogous
#936FFB #D96FFB #FB6FD7
triadic
#D96FFB #FBD96F #6FFBD9
tetradic
#D96FFB #FB936F #91FB6F #6FD7FB
square
#D96FFB #FB936F #91FB6F #6FD7FB
split-complementary
#D96FFB #D7FB6F #6FFB93
monochromatic
#B206E9 #C933F9 #D96FFB #E9ABFD #F7E1FE

Accessibility & contrast

On white

2.76
#D96FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#D96FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96FFB
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96FFB#FFFFFF#000000##000000
##D96FFB1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E95FF
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#D885AB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d96ffb;
/* rgb */ color: rgb(217, 111, 251);
/* oklch */ color: oklch(71.8% 0.217 317.3);
Tailwind
colors: {
  custom: {
    50: '#e89dfd',
    500: '#d96ffb',
    950: '#000000',
  },
}
SCSS
$custom: #d96ffb;
$custom-light: #e89dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d96ffb",
  "rgb": {
    "r": 217,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 285.429,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71804,
    "c": 0.21677,
    "h": 317.3
  },
  "luminance": 0.33086
}

Semantic roles & 50–950 ramp

primary
#D96FFB
secondary
#D9F6D0
accent
#E60038
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D96FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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