#D96CFB#D96CFB

#D96CFB is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.4% C 0.221 H 317.5°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#D96CFB
RGBrgb(217, 108, 251)
HSLhsl(286, 95%, 70%)
HSVhsv(286, 57%, 98%)
CMYKcmyk(13.5%, 57%, 0%, 1.6%)
CIE-LABlab(63.71, 63.76, -53.55)
CIE-LCHlch(63.71, 83.26, 319.97°)
OKLaboklab(71.42% 0.163 -0.1494)
OKLCHoklch(71.42% 0.221 317.5)
XYZxyz(51.3879, 32.4438, 94.8035)
Luminance0.3244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96CFB #8EFB6C
analogous
#916CFB #D96CFB #FB6CD6
triadic
#D96CFB #FBD96C #6CFBD9
tetradic
#D96CFB #FB916C #8EFB6C #6CD6FB
square
#D96CFB #FB916C #8EFB6C #6CD6FB
split-complementary
#D96CFB #D6FB6C #6CFB91
monochromatic
#B106E6 #CA30F9 #D96CFB #E8A8FD #F7E1FE

Accessibility & contrast

On white

2.80
#D96CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#D96CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96CFB
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96CFB#FFFFFF#000000##000000
##D96CFB1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#719EF7
Tritanopia (blue-blind)
#D883AA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d96cfb;
/* rgb */ color: rgb(217, 108, 251);
/* oklch */ color: oklch(71.4% 0.221 317.5);
Tailwind
colors: {
  custom: {
    50: '#e89bfd',
    500: '#d96cfb',
    950: '#000000',
  },
}
SCSS
$custom: #d96cfb;
$custom-light: #e89bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d96cfb",
  "rgb": {
    "r": 217,
    "g": 108,
    "b": 251
  },
  "hsl": {
    "h": 285.734,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71421,
    "c": 0.22113,
    "h": 317.5
  },
  "luminance": 0.32442
}

Semantic roles & 50–950 ramp

primary
#D96CFB
secondary
#D7F5CE
accent
#E60037
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D96CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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