#D96BC7#D96BC7

#D96BC7 is a light, vivid purple. Relative luminance 0.294; OKLCH L 68.7% C 0.176 H 333.9°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#D96BC7
RGBrgb(217, 107, 199)
HSLhsl(310, 59%, 64%)
HSVhsv(310, 51%, 85%)
CMYKcmyk(0%, 50.7%, 8.3%, 14.9%)
CIE-LABlab(61.13, 54.88, -28.56)
CIE-LCHlch(61.13, 61.86, 332.51°)
OKLaboklab(68.74% 0.158 -0.0775)
OKLCHoklch(68.74% 0.176 333.9)
XYZxyz(44.1818, 29.3936, 57.3682)
Luminance0.2939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D96BC7 #6BD97D
analogous
#B46BD9 #D96BC7 #D96B90
triadic
#D96BC7 #C7D96B #6BC7D9
tetradic
#D96BC7 #D9B46B #6BD97D #6B90D9
square
#D96BC7 #D9B46B #6BD97D #6B90D9
split-complementary
#D96BC7 #90D96B #6BD9B4
monochromatic
#A0298D #CC3AB5 #D96BC7 #E69CD9 #F2CCEC

Accessibility & contrast

On white

3.05
#D96BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#D96BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D96BC7
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D96BC7#FFFFFF#000000##000000
##D96BC71.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A89CA
Deuteranopia (green-blind)
#8999C4
Tritanopia (blue-blind)
#E27290
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d96bc7;
/* rgb */ color: rgb(217, 107, 199);
/* oklch */ color: oklch(68.7% 0.176 333.9);
Tailwind
colors: {
  custom: {
    50: '#e799d8',
    500: '#d96bc7',
    950: '#000000',
  },
}
SCSS
$custom: #d96bc7;
$custom-light: #e799d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d96bc7",
  "rgb": {
    "r": 217,
    "g": 107,
    "b": 199
  },
  "hsl": {
    "h": 309.818,
    "s": 59.14,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68739,
    "c": 0.17594,
    "h": 333.9
  },
  "luminance": 0.29391
}

Semantic roles & 50–950 ramp

primary
#D96BC7
secondary
#BCE3C3
accent
#C73A1F
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D96BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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