#D96BF3#D96BF3

#D96BF3 is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 70.9% C 0.215 H 319.6°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#D96BF3
RGBrgb(217, 107, 243)
HSLhsl(289, 85%, 69%)
HSVhsv(289, 56%, 95%)
CMYKcmyk(10.7%, 56%, 0%, 4.7%)
CIE-LABlab(63.13, 62.69, -50.06)
CIE-LCHlch(63.13, 80.22, 321.39°)
OKLaboklab(70.86% 0.1638 -0.1393)
OKLCHoklch(70.86% 0.215 319.6)
XYZxyz(50.0486, 31.7403, 88.2668)
Luminance0.3174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96BF3 #85F36B
analogous
#956BF3 #D96BF3 #F36BC9
triadic
#D96BF3 #F3D96B #6BF3D9
tetradic
#D96BF3 #F3956B #85F36B #6BC9F3
square
#D96BF3 #F3956B #85F36B #6BC9F3
split-complementary
#D96BF3 #C9F36B #6BF395
monochromatic
#AE11D3 #CA32EE #D96BF3 #E8A4F8 #F6DCFC

Accessibility & contrast

On white

2.86
#D96BF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#D96BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D96BF3
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96BF3#FFFFFF#000000##000000
##D96BF31.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E91F7
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#DA80A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d96bf3;
/* rgb */ color: rgb(217, 107, 243);
/* oklch */ color: oklch(70.9% 0.215 319.6);
Tailwind
colors: {
  custom: {
    50: '#e89af7',
    500: '#d96bf3',
    950: '#000000',
  },
}
SCSS
$custom: #d96bf3;
$custom-light: #e89af7;
$custom-dark: #000000;
JSON
{
  "hex": "#d96bf3",
  "rgb": {
    "r": 217,
    "g": 107,
    "b": 243
  },
  "hsl": {
    "h": 288.529,
    "s": 85,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70865,
    "c": 0.21498,
    "h": 319.6
  },
  "luminance": 0.31738
}

Semantic roles & 50–950 ramp

primary
#D96BF3
secondary
#D0F1C9
accent
#E1042E
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D96BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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