#D96BFB#D96BFB

#D96BFB is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.3% C 0.223 H 317.5°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#D96BFB
RGBrgb(217, 107, 251)
HSLhsl(286, 95%, 70%)
HSVhsv(286, 57%, 98%)
CMYKcmyk(13.5%, 57.4%, 0%, 1.6%)
CIE-LABlab(63.54, 64.22, -53.82)
CIE-LCHlch(63.54, 83.80, 320.03°)
OKLaboklab(71.3% 0.1642 -0.1502)
OKLCHoklch(71.3% 0.223 317.5)
XYZxyz(51.2831, 32.2341, 94.7685)
Luminance0.3223 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96BFB #8DFB6B
analogous
#916BFB #D96BFB #FB6BD5
triadic
#D96BFB #FBD96B #6BFBD9
tetradic
#D96BFB #FB916B #8DFB6B #6BD5FB
square
#D96BFB #FB916B #8DFB6B #6BD5FB
split-complementary
#D96BFB #D5FB6B #6BFB91
monochromatic
#B106E5 #CA2FF9 #D96BFB #E8A7FD #F7E1FE

Accessibility & contrast

On white

2.82
#D96BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#D96BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96BFB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96BFB#FFFFFF#000000##000000
##D96BFB1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#709DF7
Tritanopia (blue-blind)
#D882A9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d96bfb;
/* rgb */ color: rgb(217, 107, 251);
/* oklch */ color: oklch(71.3% 0.223 317.5);
Tailwind
colors: {
  custom: {
    50: '#e89afd',
    500: '#d96bfb',
    950: '#000000',
  },
}
SCSS
$custom: #d96bfb;
$custom-light: #e89afd;
$custom-dark: #000000;
JSON
{
  "hex": "#d96bfb",
  "rgb": {
    "r": 217,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 285.833,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71295,
    "c": 0.22257,
    "h": 317.5
  },
  "luminance": 0.32232
}

Semantic roles & 50–950 ramp

primary
#D96BFB
secondary
#D6F5CD
accent
#E60036
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D96BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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